/opt/cloudlinux/venv/lib/python3.11/site-packages/alembic/testing/__pycache__
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/alembic/testing/__pycache__/util.cpython-311.pyc (6039B)
§
ðÓ6RRžã ób — d dl mZ d dlZd dlmZ d dlmZ ddlmZ d„ Z d„ Z
dd
„Zdd„Zdd„Z
dS )é )ÚannotationsN)ÚUnion)Úinspect_getfullargspecé )Úsqla_2c óþ ‡— ddl m} t ¦ « Š| D ]}‰ |¦ « Œt ‰¦ « Š |j ˆfd„| D ¦ « ddt
‰¦ « z z d ‰¦ « dœŽS )a A facade around @testing.combinations() oriented towards boolean
keyword-based arguments.
Basically generates a nice looking identifier based on the keywords
and also sets up the argument names.
E.g.::
@testing.flag_combinations(
dict(lazy=False, passive=False),
dict(lazy=True, passive=False),
dict(lazy=False, passive=True),
dict(lazy=False, passive=True, raiseload=True),
)
would result in::
@testing.combinations(
('', False, False, False),
('lazy', True, False, False),
('lazy_passive', True, True, False),
('lazy_passive', True, True, True),
id_='iaaa',
argnames='lazy,passive,raiseload'
)
r ©Úconfigc óŽ •‡— g | ]@Šd ˆfd„‰D ¦ « ¦ « ft ˆfd„‰D ¦ « ¦ « z ‘ŒAS )Ú_c 3 óH •K — | ]}‰ |d ¦ « ¯|V — ŒdS ©FN©Úget©Ú.0ÚkÚds €úf/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/alembic/testing/util.pyú
z/flag_combinations...9 s4 øè è € Ð9Ð9˜A¨¯ª¨q°%©¬Ð9�aÐ9Ð9Ð9Ð9Ð9Ð9ó c 3 óD •K — | ]}‰ |d ¦ « V — ŒdS r r r s €r r z/flag_combinations...: s/ øè è € Ð2Ð2¨�A—E’E˜!˜U‘O”OÐ2Ð2Ð2Ð2Ð2Ð2r )ÚjoinÚtuple)r r Úkeyss @€r ú
z%flag_combinations..8 su øø€ ð
ð
ð
ð ð �XŠXÐ9Ð9Ð9Ð9 Ð9Ñ9Ô9Ñ
9Ô
9Ð;ÝÐ2Ð2Ð2Ð2¨TÐ2Ñ2Ô2Ñ2Ô2ñ
3ð
ð
ð
r ÚiÚaú,)Úid_Úargnames)Úsqlalchemy.testingr
ÚsetÚupdateÚsortedÚcombinationsÚlenr )r&