Skip to content

Commit

Permalink
Fix typing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Mar 18, 2024
1 parent 178d7b7 commit 7630a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/schema/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class APIKeyModel(BaseModel):
# It should be removed when Python/pydantic supports this feature natively.
# https://github.com/pydantic/pydantic/issues/1673
def partial_model(
include: Optional[list[str]] = None, exclude: Optional[list[str]] = None
include: Optional[List[str]] = None, exclude: Optional[List[str]] = None
) -> Callable[[type[T]], type[T]]:
"""Decorator to make all model fields optional"""

Expand Down

0 comments on commit 7630a9f

Please sign in to comment.