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

Config #245

Merged
merged 8 commits into from
Dec 27, 2024
Merged

Config #245

merged 8 commits into from
Dec 27, 2024

Conversation

jreadey
Copy link
Member

@jreadey jreadey commented Dec 26, 2024

Added h5pyd.get_config method.
Also: retain track_order behvior over file open/close

@jreadey jreadey requested a review from mattjala December 26, 2024 13:16
for k in ("hs_endpoint", "hs_username", "hs_endpoint"):
if k not in Config._cfg:
Config._cfg[k] = None
if "bool_names" not in Config._cfg:
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like bool_names and complex_names are intended to let the application running HSDS customize what boolean and complex values are called.

Since this doesn't do anything right now and isn't related to this set of changes, I think it would be a good idea to bring this out until it's fully implemented

Copy link
Member Author

Choose a reason for hiding this comment

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

That's valid, but I think I'll leave it in for compatibility. complex and bool types will be coming soon.

@jreadey jreadey merged commit 880721b into master Dec 27, 2024
16 checks passed
@jreadey jreadey deleted the config branch December 27, 2024 02:46
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.

2 participants