Skip to content

Commit

Permalink
python: Correctly handel nullable types
Browse files Browse the repository at this point in the history
  • Loading branch information
svix-mman committed Jan 30, 2025
1 parent 1efec91 commit 18bd6d8
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion python/svix/models/environment_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class EnvironmentOut(BaseModel):

event_types: t.List[EventTypeOut]

settings: t.Optional[t.Dict[str, t.Any]] = None
settings: t.Optional[t.Dict[str, t.Any]]

transformation_templates: t.List[TemplateOut]

Expand Down
2 changes: 1 addition & 1 deletion python/svix/models/list_response_application_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class ListResponseApplicationOut(BaseModel):

done: bool

iterator: t.Optional[str] = None
iterator: t.Optional[str]

prev_iterator: t.Optional[str] = None
2 changes: 1 addition & 1 deletion python/svix/models/list_response_background_task_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class ListResponseBackgroundTaskOut(BaseModel):

done: bool

iterator: t.Optional[str] = None
iterator: t.Optional[str]

prev_iterator: t.Optional[str] = None
2 changes: 1 addition & 1 deletion python/svix/models/list_response_endpoint_message_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class ListResponseEndpointMessageOut(BaseModel):

done: bool

iterator: t.Optional[str] = None
iterator: t.Optional[str]

prev_iterator: t.Optional[str] = None
2 changes: 1 addition & 1 deletion python/svix/models/list_response_endpoint_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class ListResponseEndpointOut(BaseModel):

done: bool

iterator: t.Optional[str] = None
iterator: t.Optional[str]

prev_iterator: t.Optional[str] = None
2 changes: 1 addition & 1 deletion python/svix/models/list_response_event_type_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class ListResponseEventTypeOut(BaseModel):

done: bool

iterator: t.Optional[str] = None
iterator: t.Optional[str]

prev_iterator: t.Optional[str] = None
2 changes: 1 addition & 1 deletion python/svix/models/list_response_integration_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class ListResponseIntegrationOut(BaseModel):

done: bool

iterator: t.Optional[str] = None
iterator: t.Optional[str]

prev_iterator: t.Optional[str] = None
2 changes: 1 addition & 1 deletion python/svix/models/list_response_message_attempt_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class ListResponseMessageAttemptOut(BaseModel):

done: bool

iterator: t.Optional[str] = None
iterator: t.Optional[str]

prev_iterator: t.Optional[str] = None
2 changes: 1 addition & 1 deletion python/svix/models/list_response_message_endpoint_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class ListResponseMessageEndpointOut(BaseModel):

done: bool

iterator: t.Optional[str] = None
iterator: t.Optional[str]

prev_iterator: t.Optional[str] = None
2 changes: 1 addition & 1 deletion python/svix/models/list_response_message_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class ListResponseMessageOut(BaseModel):

done: bool

iterator: t.Optional[str] = None
iterator: t.Optional[str]

prev_iterator: t.Optional[str] = None
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ class ListResponseOperationalWebhookEndpointOut(BaseModel):

done: bool

iterator: t.Optional[str] = None
iterator: t.Optional[str]

prev_iterator: t.Optional[str] = None

0 comments on commit 18bd6d8

Please sign in to comment.