Skip to content

Commit

Permalink
Add type ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
zachaysan committed Dec 3, 2024
1 parent 1fa8173 commit 91e79f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/util/mappers/sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ def map_environment_to_sdk_document(environment: "Environment") -> SDKDocument:
]

return engine_environment.model_dump(
exclude=SDK_DOCUMENT_EXCLUDE,
exclude=SDK_DOCUMENT_EXCLUDE, # type: ignore
)
2 changes: 1 addition & 1 deletion api/util/pydantic.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def exclude_model_fields(
for field_name, field in model_cls.model_fields.items()
if field_name not in exclude_fields
}
return create_model(
return create_model( # type: ignore
model_cls.__name__,
__config__=model_cls.model_config,
**fields,
Expand Down

0 comments on commit 91e79f3

Please sign in to comment.