redis-om-python icon indicating copy to clipboard operation
redis-om-python copied to clipboard

pk appear in jsonschema

Open Mograbi opened this issue 2 years ago • 0 comments

after creating an object of JsonModel I want to have the jsonschema for this model when running schema_json() I get a "pk" as part of the schema which shouldn't be

{
   "title":"Callback",
   "type":"object",
   "properties":{
      "pk":{
         "title":"Pk",
         "type":"string"
      },
      ....

Mograbi avatar Feb 22 '23 09:02 Mograbi