(self)
| 209 | return AccountGetCurrentAuthResult(auth_errors, auth_info) |
| 210 | |
| 211 | def to_dict(self) -> dict: |
| 212 | result: dict = {} |
| 213 | if self.auth_errors is not None: |
| 214 | result["authErrors"] = from_union([lambda x: from_list(from_str, x), from_none], self.auth_errors) |
| 215 | if self.auth_info is not None: |
| 216 | result["authInfo"] = from_union([lambda x: (x).to_dict(), from_none], self.auth_info) |
| 217 | return result |
| 218 | |
| 219 | # Experimental: this type is part of an experimental API and may change or be removed. |
| 220 | @dataclass |
nothing calls this directly
no test coverage detected