Method
dict
(
self,
*,
include: IncEx | None = None,
exclude: IncEx | None = None,
by_alias: bool = False,
exclude_unset: bool = False,
exclude_defaults: bool = False,
exclude_none: bool = False,
)
Source from the content-addressed store, hash-verified
| 936 | """ |
| 937 | ) |
| 938 | def dict( |
| 939 | self, |
| 940 | *, |
| 941 | include: IncEx | None = None, |
| 942 | exclude: IncEx | None = None, |
| 943 | by_alias: bool = False, |
| 944 | exclude_unset: bool = False, |
| 945 | exclude_defaults: bool = False, |
| 946 | exclude_none: bool = False, |
| 947 | ) -> builtins.dict[str, Any]: |
| 948 | return self.model_dump( |
| 949 | include=include, |
| 950 | exclude=exclude, |
| 951 | by_alias=by_alias, |
| 952 | exclude_unset=exclude_unset, |
| 953 | exclude_defaults=exclude_defaults, |
| 954 | exclude_none=exclude_none, |
| 955 | ) |
| 956 | |
| 957 | @classmethod |
| 958 | @deprecated( |