SchemaTypePath
Path defining where schema_type was defined, or where TypeAdapter was called.
Attributes
| Attribute | Type | Description |
|---|---|---|
| module | str | The name of the Python module where the schema type was defined or the TypeAdapter was instantiated. |
| name | str | The name of the specific class or object within the module that defines the schema type. |
Constructor
Signature
def SchemaTypePath(
module: str,
name: str
) - > null
Parameters
| Name | Type | Description |
|---|---|---|
| module | str | The name of the module where the schema type was defined. |
| name | str | The name of the schema type or the location where TypeAdapter was called. |
Signature
def __new__(
module: str,
name: str
) - > [SchemaTypePath](schematypepath.md?sid=pydantic_plugin_schematypepath)
Parameters
| Name | Type | Description |
|---|---|---|
| module | str | The fully qualified Python module name where the type is defined. |
| name | str | The name of the class or function representing the schema type within the module. |