Skip to content

PropertyBase

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  2057698287["typedefs.PropertyBase"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 2057698287
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Base schema property with common fields.

Source code in src/schemez/functionschema/typedefs.py
class PropertyBase(TypedDict, total=False):
    """Base schema property with common fields."""

    description: str
    format: str
    default: Any

:fa-brands-github: Show source on GitHub