Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.2k
Don't allow customization ofSchemaGenerator
until interface is more stable#10303
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes from1 commit
44e9438
9b40be6
4c9e25b
10cf621
645a091
a26bea3
dc0c6ef
1243115
8779d6b
a684846
268f895
e024d45
0290d67
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -380,6 +380,13 @@ def __init__( | ||
self.model_type_stack = _ModelTypeStack() | ||
self.defs = _Definitions() | ||
def __init_subclass__(cls, **kwargs) -> None: | ||
sydney-runkle marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
super().__init_subclass__(**kwargs) | ||
warnings.warn( | ||
f'Subclassing {cls.__name__} is not supported. The API is highly subject to change in minor versions.', | ||
UserWarning, | ||
) | ||
sydney-runkle marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
@property | ||
def _config_wrapper(self) -> ConfigWrapper: | ||
return self._config_wrapper_stack.tail | ||
Uh oh!
There was an error while loading.Please reload this page.