(self)
| 4033 | return value |
| 4034 | |
| 4035 | def _as_dict(self) -> Dict[str, Any]: |
| 4036 | return { |
| 4037 | k: v |
| 4038 | for k, v in { |
| 4039 | "start": self.start, |
| 4040 | "increment": self.increment, |
| 4041 | "minvalue": self.minvalue, |
| 4042 | "maxvalue": self.maxvalue, |
| 4043 | "nominvalue": self.nominvalue, |
| 4044 | "nomaxvalue": self.nomaxvalue, |
| 4045 | "cycle": self.cycle, |
| 4046 | "cache": self.cache, |
| 4047 | }.items() |
| 4048 | if v != None |
| 4049 | } |
| 4050 | |
| 4051 | |
| 4052 | class Sequence(HasSchemaAttr, IdentityOptions, DefaultGenerator): |