Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(edge_services): add orga id in pipeline message #714

Merged
merged 1 commit into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,10 @@ def unmarshal_Pipeline(data: Any) -> Pipeline:
if field is not None:
args["project_id"] = field

field = data.get("organization_id", None)
if field is not None:
args["organization_id"] = field

field = data.get("created_at", None)
if field is not None:
args["created_at"] = parser.isoparse(field) if isinstance(field, str) else field
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,11 @@ class Pipeline:
Project ID of the pipeline.
"""

organization_id: str
"""
Organization ID of the pipeline.
"""

created_at: Optional[datetime]
"""
Date the pipeline was created.
Expand Down
4 changes: 4 additions & 0 deletions scaleway/scaleway/edge_services/v1alpha1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,10 @@ def unmarshal_Pipeline(data: Any) -> Pipeline:
if field is not None:
args["project_id"] = field

field = data.get("organization_id", None)
if field is not None:
args["organization_id"] = field

field = data.get("created_at", None)
if field is not None:
args["created_at"] = parser.isoparse(field) if isinstance(field, str) else field
Expand Down
5 changes: 5 additions & 0 deletions scaleway/scaleway/edge_services/v1alpha1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,11 @@ class Pipeline:
Project ID of the pipeline.
"""

organization_id: str
"""
Organization ID of the pipeline.
"""

created_at: Optional[datetime]
"""
Date the pipeline was created.
Expand Down