Skip to content

Commit

Permalink
keyword args for SchemaOrgBase.py (fixes type checking bug in pylance…
Browse files Browse the repository at this point in the history
…/VSCode)
  • Loading branch information
crbaker89 committed Feb 17, 2022
1 parent 65cbec4 commit 9b2cd29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pydantic_schemaorg/SchemaOrgBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

class SchemaOrgBase(BaseModel):
#JSON-LD fields
reverse_ : Optional[Any] = Field(None,alias='@reverse')
id_ : Optional[Any] = Field(None,alias='@id')
context_ : Optional[Any] = Field(None,alias='@context')
graph_ : Optional[Any] = Field(None,alias='@graph')
reverse_ : Optional[Any] = Field(default=None,alias='@reverse')
id_ : Optional[Any] = Field(default=None,alias='@id')
context_ : Optional[Any] = Field(default=None,alias='@context')
graph_ : Optional[Any] = Field(default=None,alias='@graph')

def dict(self, *args, **kwargs):
defaults = {
Expand Down

0 comments on commit 9b2cd29

Please sign in to comment.