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

Method registry

lib/sqlalchemy/testing/fixtures/base.py:115–125  ·  view source on GitHub ↗
(self, metadata)

Source from the content-addressed store, hash-verified

113
114 @config.fixture()
115 def registry(self, metadata):
116 reg = registry(
117 metadata=metadata,
118 type_annotation_map={
119 str: sa.String().with_variant(
120 sa.String(50), "mysql", "mariadb", "oracle"
121 )
122 },
123 )
124 yield reg
125 reg.dispose()
126
127 @config.fixture
128 def decl_base(self, metadata):

Callers 10

_proxiedMethod · 0.80
__call__Method · 0.80
removeMethod · 0.80
_proxiedMethod · 0.80
__call__Method · 0.80
removeMethod · 0.80
__get__Method · 0.80
setup_testMethod · 0.80
setup_testMethod · 0.80
mapping_fixtureMethod · 0.80

Calls 3

registryClass · 0.85
with_variantMethod · 0.80
disposeMethod · 0.45

Tested by 3

setup_testMethod · 0.64
setup_testMethod · 0.64
mapping_fixtureMethod · 0.64