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

Method label

lib/sqlalchemy/orm/util.py:1704–1709  ·  view source on GitHub ↗

Provide a copy of this :class:`.Bundle` passing a new label.

(self, name)

Source from the content-addressed store, hash-verified

1702 return self.__clause_element__().clauses
1703
1704 def label(self, name):
1705 """Provide a copy of this :class:`.Bundle` passing a new label."""
1706
1707 cloned = self._clone()
1708 cloned.name = name
1709 return cloned
1710
1711 def create_row_processor(
1712 self,

Callers 15

_columns_queryMethod · 0.45
_constraint_queryMethod · 0.45
_index_queryMethod · 0.45
_enum_queryMethod · 0.45
_domain_queryMethod · 0.45
_has_table_queryMethod · 0.45
get_table_namesMethod · 0.45
_table_options_queryMethod · 0.45
_column_queryMethod · 0.45
_comment_queryMethod · 0.45
_constraint_queryMethod · 0.45

Calls 1

_cloneMethod · 0.95

Tested by 15

test_plainMethod · 0.36
test_composed_intMethod · 0.36
test_plain_descMethod · 0.36
test_aliases_and_ssMethod · 0.36
test_associativity_4Method · 0.36
test_associativity_6Method · 0.36
test_associativity_8Method · 0.36