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

Method format_label_name

lib/sqlalchemy/sql/compiler.py:7993–8005  ·  view source on GitHub ↗

Prepare a quoted column name.

(
        self,
        name,
        anon_map=None,
    )

Source from the content-addressed store, hash-verified

7991 return self.quote(name)
7992
7993 def format_label_name(
7994 self,
7995 name,
7996 anon_map=None,
7997 ):
7998 """Prepare a quoted column name."""
7999
8000 if anon_map is not None and isinstance(
8001 name, elements._truncated_label
8002 ):
8003 name = name.apply_map(anon_map)
8004
8005 return self.quote(name)
8006
8007 def format_column(
8008 self,

Callers 1

visit_cteMethod · 0.80

Calls 2

quoteMethod · 0.95
apply_mapMethod · 0.45

Tested by

no test coverage detected