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

#239: Changed return type for deploy API method #240

Merged
merged 5 commits into from
Sep 3, 2024

Conversation

tomuben
Copy link
Collaborator

@tomuben tomuben commented Sep 2, 2024

fixes #239

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dataclass
class DeployResult:
release_path: str
upload_url: str
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we want to make this SaaS BucketFS compatible, maybe we actually return a BucketFS PathLike

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can return both for now. The BucketFS Pathlike has some limitiations as we have seen.

@tomuben tomuben merged commit b30b1fa into main Sep 3, 2024
36 checks passed
@tomuben tomuben deleted the refactoring/239_change_return_type_for_deploy branch September 3, 2024 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change return type for new API method 'deploy'
2 participants