Skip to content

Commit

Permalink
fix: rm protected namespaces from pipeline model (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
julesbertrand committed Oct 13, 2023
1 parent b3f3b46 commit 7ea8975
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deployer/utils/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ class CustomBaseModel(BaseModel):

# FIXME: arbitrary_types_allowed is a workaround to allow to pass
# Vertex Pipelines Artifacts as parameters to a pipeline.
model_config = ConfigDict(extra="forbid", arbitrary_types_allowed=True)
model_config = ConfigDict(
extra="forbid", arbitrary_types_allowed=True, protected_namespaces=()
)


def _convert_artifact_type_to_str(annotation: type) -> type:
Expand Down

0 comments on commit 7ea8975

Please sign in to comment.