MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / get_name

Method get_name

asyncpg/prepared_stmt.py:29–34  ·  view source on GitHub ↗

Return the name of this prepared statement. .. versionadded:: 0.25.0

(self)

Source from the content-addressed store, hash-verified

27
28 @connresource.guarded
29 def get_name(self) -> str:
30 """Return the name of this prepared statement.
31
32 .. versionadded:: 0.25.0
33 """
34 return self._state.name
35
36 @connresource.guarded
37 def get_query(self) -> str:

Callers 1

Calls

no outgoing calls

Tested by 1