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

Documentation for start_launch says it returns UUID or None but it could return NOT_FOUND in some cases #246

Open
vokiput opened this issue Dec 10, 2024 · 0 comments
Labels

Comments

@vokiput
Copy link

vokiput commented Dec 10, 2024

Describe the bug
start_launch could return NOT_FOUND constant instead of UUID or None in some cases.

Steps to Reproduce
Steps to reproduce the behavior:

self.client = RPClient(endpoint='rp.endpoint.com', project='PROJECT_XXX', api_key='VALID_API_KEY_FOR_USER_WHO_DOES_NOT_HAVE_ACCESS_TO_PROJECT_XXX')
launch = self.client.start_launch(name='LAUNCH_NAME', start_time=timestamp())

Expected behavior
launch is None

Actual behavior
launch == NOT_FOUND

Package versions
5.5.10

Additional context
Nothing

@vokiput vokiput added the bug label Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant