attrs¶
- class litestar.plugins.attrs.AttrsSchemaPlugin[原始碼]¶
基底類別:
OpenAPISchemaPlugin- static is_plugin_supported_type(value: Any) bool[原始碼]¶
Given a value of indeterminate type, determine if this value is supported by the plugin.
This is called by the default implementation of
is_plugin_supported_field()for backwards compatibility. User's should prefer to override that method instead.- 參數:
value¶ -- An arbitrary value.
- 回傳:
A bool indicating whether the value is supported by the plugin.