Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/psycopg/psycopg
/ from_pq
Method
from_pq
psycopg/psycopg/_enums.py:47–48 ·
view source on GitHub ↗
(cls, fmt: pq.Format)
Source
from the content-addressed store, hash-verified
45
46
@classmethod
47
def
from_pq(cls, fmt: pq.Format) ->
"PyFormat"
:
48
return
_pg2py[fmt]
49
50
@classmethod
51
def
as_pq(cls, fmt:
"PyFormat"
) -> pq.Format:
Callers
13
test_copy_to_leaks
Function · 0.80
test_copy_from_leaks
Function · 0.80
test_copy_to_leaks
Function · 0.80
test_copy_from_leaks
Function · 0.80
test_list_dumper
Function · 0.80
test_copy_from_leaks
Function · 0.80
test_copy_from_leaks
Function · 0.80
register_dumper
Method · 0.80
__init__
Method · 0.80
__init__
Method · 0.80
__init__
Method · 0.80
upgrade
Method · 0.80
Calls
no outgoing calls
Tested by
7
test_copy_to_leaks
Function · 0.64
test_copy_from_leaks
Function · 0.64
test_copy_to_leaks
Function · 0.64
test_copy_from_leaks
Function · 0.64
test_list_dumper
Function · 0.64
test_copy_from_leaks
Function · 0.64
test_copy_from_leaks
Function · 0.64