attrs¶
- class litestar.plugins.attrs.AttrsSchemaPlugin[源代码]¶
-
- 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.