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

Use constant for supported extensions #11

Merged
merged 1 commit into from
Jan 2, 2023

Conversation

kfdm
Copy link
Contributor

@kfdm kfdm commented Jan 2, 2023

ModelLoader was updated to support multiple extensions but the corresponding watch code in YamdlConfig.autoreload_ready also needs to watch for the same extensions.

I'm not sure if a class property is better than a module property or not. Do you have any thoughts or preferences?

ModelLoader was updated to support multiple extensions but the
corresponding watch code in YamdlConfig.autoreload_ready also needs to
watch for the same extensions.
@andrewgodwin
Copy link
Owner

I like it as a class property so I'll take this as-is - thanks!

@andrewgodwin andrewgodwin merged commit d400c46 into andrewgodwin:master Jan 2, 2023
@kfdm kfdm deleted the autoreload-extensions branch January 12, 2023 01:55
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.

None yet

2 participants