MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _as_dict

Method _as_dict

lib/sqlalchemy/sql/schema.py:4035–4049  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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
4052class Sequence(HasSchemaAttr, IdentityOptions, DefaultGenerator):

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected