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

api/get-default-context-adjustment #1073

Conversation

alphasentaurii
Copy link
Collaborator

@alphasentaurii alphasentaurii commented Sep 19, 2024

Ensure default behavior (no kwargs) of api.get_default_context() fetches build context if observatory is jwst, otherwise latest. This can still be overridden by explicitly passing in a different state such as 'latest' or 'edit'. Minor change to core.cmdline.observatory property to make sure we can figure out the observatory based on SERVER_URL even if env var CRDS_OBSERVATORY is not set, or set to empty string.
Resolves CCD-1497

@alphasentaurii alphasentaurii requested a review from a team as a code owner September 19, 2024 16:06
@alphasentaurii alphasentaurii merged commit 55daeeb into spacetelescope:data-release-contexts Sep 19, 2024
1 check passed
@alphasentaurii alphasentaurii deleted the force-jwst-default-to-build branch September 19, 2024 18:16
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.

1 participant