MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / normalize_sequence

Function normalize_sequence

lib/sqlalchemy/testing/provision.py:542–548  ·  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

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

Calls

no outgoing calls