MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / normalize_sequence

Function normalize_sequence

lib/sqlalchemy/testing/provision.py:543–549  ·  view source on GitHub ↗

Normalize sequence parameters for dialect that don't start with 1 by default. The default implementation does nothing

(cfg, sequence)

Source from the content-addressed store, hash-verified

541
542@register.init
543def normalize_sequence(cfg, sequence):
544 """Normalize sequence parameters for dialect that don't start with 1
545 by default.
546
547 The default implementation does nothing
548 """
549 return sequence
550
551
552@register.init

Calls

no outgoing calls