Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cancan101/graphql-db-api
/ functions
Functions
66 in github.com/cancan101/graphql-db-api
⨍
Functions
66
◇
Types & classes
11
↓ 8 callers
Function
extract_flattened_value
(node: Dict[str, Any], field_name: str)
graphqldb/adapter.py:192
↓ 7 callers
Function
get_gql_fields
(column_names: Sequence[str])
graphqldb/adapter.py:203
↓ 7 callers
Method
status
Prints things in bold.
setup.py:30
↓ 7 callers
Method
system
(self, command: str)
setup.py:34
↓ 6 callers
Function
_parse_query_args
(query: Dict[str, List[str]])
graphqldb/adapter.py:231
↓ 6 callers
Function
get_last_query
(entry: Union[str, Sequence[str]])
graphqldb/lib.py:30
↓ 6 callers
Function
parse_gql_type
(type_info: TypeInfo)
graphqldb/adapter.py:62
↓ 4 callers
Function
_get_variable_argument_str
(args: Dict[str, QueryArg])
graphqldb/adapter.py:256
↓ 4 callers
Method
db_url_to_graphql_api
(self, url: URL)
graphqldb/dialect.py:59
↓ 4 callers
Function
run_query
( graphql_api: str, *, query: str, bearer_token: Optional[str] = None, )
graphqldb/lib.py:39
↓ 3 callers
Function
find_type_by_name
(name: str, *, types: List[FieldInfo])
graphqldb/adapter.py:165
↓ 3 callers
Method
run_query
(self, query: str)
graphqldb/adapter.py:478
↓ 2 callers
Function
_parse_query_arg
(k: str, v: List[str])
graphqldb/adapter.py:224
↓ 2 callers
Method
db_url_to_graphql_bearer
(self, url: URL)
graphqldb/dialect.py:67
↓ 2 callers
Function
extract_query
Extract the query from the SQLAlchemy URL.
graphqldb/lib.py:15
↓ 2 callers
Method
get_table_names
( self, connection: Connection, schema: Optional[str] = None, sqlite_include_i
graphqldb/dialect.py:33
↓ 1 callers
Function
_format_arg
(arg: QueryArg)
graphqldb/adapter.py:250
↓ 1 callers
Method
create_connect_args
( self, url: URL, )
graphqldb/dialect.py:70
↓ 1 callers
Function
find_by_name
(name: str, *, types: List[FieldInfo])
graphqldb/adapter.py:158
↓ 1 callers
Method
get_data_connection
( self, bounds: Dict[str, Filter], order: List[Tuple[str, RequestedOrder]], **
graphqldb/adapter.py:481
↓ 1 callers
Method
get_data_list
( self, bounds: Dict[str, Filter], order: List[Tuple[str, RequestedOrder]], **
graphqldb/adapter.py:538
↓ 1 callers
Function
get_edges_type_name
(fields: List[FieldInfo])
graphqldb/adapter.py:172
↓ 1 callers
Function
get_field_str
(fields: List[str], root: Optional[str] = None)
graphqldb/adapter.py:205
↓ 1 callers
Function
get_node_type_name
(fields: List[FieldInfo])
graphqldb/adapter.py:182
↓ 1 callers
Function
get_type_entries
( field_obj: FieldInfo, *, data_types: Dict[str, TypeInfoWithFields], include: Collection[str]
graphqldb/adapter.py:92
Method
__init__
( self, table: str, include: Collection[str], query_args: Dict[str, QueryArg],
graphqldb/adapter.py:268
Method
__init__
( self, list_queries: Optional[List[str]] = None, **kwargs: Any, )
graphqldb/dialect.py:23
Method
finalize_options
(self)
setup.py:40
Method
get_columns
(self)
graphqldb/adapter.py:475
Method
get_data
( self, bounds: Dict[str, Filter], order: List[Tuple[str, RequestedOrder]], **
graphqldb/adapter.py:563
Method
initialize_options
(self)
setup.py:37
Function
mocked_responses
()
tests/conftest.py:63
Method
parse_uri
This will pass in the first n args of __init__ for the Adapter
graphqldb/adapter.py:450
Function
petstore_connection
(swapi_engine: Engine)
tests/conftest.py:44
Function
petstore_connection_on_engine
( swapi_engine: Engine, )
tests/conftest.py:51
Method
run
(self)
setup.py:49
Method
run
(self)
setup.py:71
Method
run
(self)
setup.py:83
Method
supports
(uri: str, fast: bool = True, **kwargs: Any)
graphqldb/adapter.py:445
Function
swapi_connection
(swapi_engine: Engine)
tests/conftest.py:29
Function
swapi_connection_no_relay
( swapi_graphq_db_url: str, )
tests/conftest.py:35
Function
swapi_engine
(swapi_graphq_db_url: str)
tests/conftest.py:24
Function
swapi_graphq_db_url
()
tests/conftest.py:19
Function
test_create_connect_args
()
tests/test_dialect.py:110
Function
test_create_engine
(swapi_engine: Engine)
tests/test_dialect.py:7
Function
test_db_url_to_graphql_api
()
tests/test_dialect.py:100
Function
test_extract_flattened_value
()
tests/test_adapter.py:39
Function
test_extract_flattened_value_nested
()
tests/test_adapter.py:49
Function
test_get_gql_fields_multiple
()
tests/test_adapter.py:20
Function
test_get_gql_fields_nested
()
tests/test_adapter.py:24
Function
test_get_gql_fields_nested_grouping
()
tests/test_adapter.py:28
Function
test_get_gql_fields_nested_multiple
()
tests/test_adapter.py:32
Function
test_get_gql_fields_single
()
tests/test_adapter.py:16
Function
test_get_last_query
()
tests/test_lib.py:31
Function
test_get_table_names_connections
(swapi_connection: Connection)
tests/test_dialect.py:11
Function
test_get_table_names_lists
(petstore_connection: Connection)
tests/test_dialect.py:22
Function
test_get_variable_argument_str
()
tests/test_adapter.py:75
Function
test_parse_gql_type
()
tests/test_adapter.py:55
Function
test_parse_query_args
()
tests/test_adapter.py:80
Function
test_query_connection
(swapi_connection: Connection)
tests/test_dialect.py:32
Function
test_query_no_paginate
Test querying with no pagination enabled.
tests/test_dialect.py:59
Function
test_query_non_connection
Test querying against a non-connection (i.e. a List).
tests/test_dialect.py:72
Function
test_query_non_connection_on_engine
Test querying against a non-connection (i.e. a List).
tests/test_dialect.py:85
Function
test_query_paginate
(swapi_connection: Connection)
tests/test_dialect.py:47
Function
test_run_query_bearer_token
(mocked_responses: responses.RequestsMock)
tests/test_lib.py:25
Function
test_run_query_error
()
tests/test_lib.py:13