Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/datastax/astrapy
/ functions
Functions
2,040 in github.com/datastax/astrapy
⨍
Functions
2,040
◇
Types & classes
298
↳
Endpoints
61
↓ 1 callers
Method
__anext__
(self)
astrapy/data/cursors/find_cursor.py:1026
↓ 1 callers
Method
__init__
( self, *, collection: Collection[TRAW], request_timeout_ms: int | None,
astrapy/data/cursors/farr_cursor.py:109
↓ 1 callers
Method
__init__
( self, *, environment: str, api_endpoint: str, raw_dict: dict[str, An
astrapy/data/info/database_info.py:200
↓ 1 callers
Method
__init__
(self, error_dict: dict[str, str] | str)
astrapy/exceptions/error_descriptors.py:61
↓ 1 callers
Method
_async_list_databases_ctx
( self, *, include: str | None, provider: str | None, page_size: int |
astrapy/admin/admin.py:847
↓ 1 callers
Function
_build_c_duration_string
( signum: int, months: int, days: int, nanoseconds: int, )
astrapy/utils/duration_c_utils.py:131
↓ 1 callers
Function
_build_std_duration_string
( signum: int, months: int, days: int, nanoseconds: int, )
astrapy/utils/duration_std_utils.py:170
↓ 1 callers
Method
_check_mark_match
(json_string: str)
astrapy/utils/api_commander.py:121
↓ 1 callers
Method
_clean_encoded_string
(json_string: str)
astrapy/utils/api_commander.py:125
↓ 1 callers
Function
_cleand
(_in: Any)
tests/conftest.py:192
↓ 1 callers
Function
_collect_existing_database_items
( database: Database, *, is_astra_db: bool, )
tests/empty_database_guard.py:53
↓ 1 callers
Method
_copy
( self: AsyncTable[ROW], *, embedding_api_key: str | EmbeddingHeadersProvider | UnsetT
astrapy/data/table.py:3461
↓ 1 callers
Function
_create_passthrough_tpostprocessor
( col_definition: TablePassthroughColumnTypeDescriptor, options: FullSerdesOptions, )
astrapy/data/utils/table_converters.py:280
↓ 1 callers
Function
_create_unsupported_tpostprocessor
( col_definition: TableUnsupportedColumnTypeDescriptor, options: FullSerdesOptions, )
astrapy/data/utils/table_converters.py:262
↓ 1 callers
Function
_escape_field_name
Escape a single literal field-name path segment. Args: field_name: a literal field-name path segment, i.e. a single field name
astrapy/utils/document_paths.py:35
↓ 1 callers
Function
_existing_items_summary
(collected_items: dict[str, list[str]])
tests/empty_database_guard.py:82
↓ 1 callers
Function
_extract_with_key_blocks
( key_blocks: list[IndexPairType], value: Any )
astrapy/data/utils/distinct_extractors.py:75
↓ 1 callers
Function
_file_delta
(pj: dict[str, Any], nj: dict[str, Any], f_name: str)
tests/coverage_utils/calc_delta.py:60
↓ 1 callers
Method
_from_dict
Create an instance of CreateTableDefinition from a dictionary such as one from the Data API.
astrapy/data/info/table_descriptor/table_creation.py:249
↓ 1 callers
Method
_from_dict
Create an instance of ListTypeDescriptor from a dictionary such as one from the Data API.
astrapy/data/info/table_descriptor/type_listing.py:109
↓ 1 callers
Method
_from_dict
Create an instance of CreateTypeDefinition from a dictionary such as one from the Data API.
astrapy/data/info/table_descriptor/type_creation.py:112
↓ 1 callers
Method
_get_api_commander
Instantiate a new APICommander based on the properties of this class.
astrapy/data/table.py:355
↓ 1 callers
Method
_get_api_commander
Instantiate a new APICommander based on the properties of this class.
astrapy/data/table.py:3407
↓ 1 callers
Method
_get_api_commander
Instantiate a new APICommander based on the properties of this class.
astrapy/data/collection.py:308
↓ 1 callers
Method
_get_api_commander
Instantiate a new APICommander based on the properties of this class.
astrapy/data/collection.py:3288
↓ 1 callers
Method
_get_api_commander
Instantiate a new APICommander for Data API calls.
astrapy/admin/admin.py:3224
↓ 1 callers
Method
_get_api_commander
(self)
astrapy/admin/admin.py:4442
↓ 1 callers
Function
_get_datetime_offset
(dt: datetime.datetime)
astrapy/utils/date_utils.py:142
↓ 1 callers
Method
_get_dev_ops_api_commander
Instantiate a new APICommander based on the properties of this class.
astrapy/admin/admin.py:498
↓ 1 callers
Method
_get_dev_ops_api_commander
Instantiate a new APICommander for DevOps calls.
astrapy/admin/admin.py:3251
↓ 1 callers
Method
_get_dev_ops_orgwide_api_commander
Instantiate a new APICommander for org-widre commands, such as querying available regions. This is a separate commander sinc
astrapy/admin/admin.py:526
↓ 1 callers
Function
_is_populated_database_tolerated
()
tests/empty_database_guard.py:38
↓ 1 callers
Method
_list_collections_ctx
( self, *, keyspace: str | None, timeout_context: _TimeoutContext, )
astrapy/data/database.py:3211
↓ 1 callers
Method
_list_databases_ctx
( self, *, include: str | None, provider: str | None, page_size: int |
astrapy/admin/admin.py:710
↓ 1 callers
Method
_list_tables_ctx
( self, *, keyspace: str | None, timeout_context: _TimeoutContext, )
astrapy/data/database.py:3950
↓ 1 callers
Function
_parse_c_duration_string
(duration_string: str)
astrapy/utils/duration_c_utils.py:61
↓ 1 callers
Function
_parse_std_duration_string
(duration_string: str)
astrapy/utils/duration_std_utils.py:54
↓ 1 callers
Function
_unix_timestamp_ms_to_timetuple
( timestamp_ms: int, )
astrapy/utils/date_utils.py:106
↓ 1 callers
Function
_user_keyspace_names
(database: Database, *, is_astra_db: bool)
tests/empty_database_guard.py:42
↓ 1 callers
Method
add_userdefinedtype_column
Return a new table definition object with an added column of 'user defined' type (UDT). This method is for use within the flu
astrapy/data/info/table_descriptor/table_creation.py:522
↓ 1 callers
Function
api_endpoint_parsing_error_message
Format an error message with a suggestion for the expected url format.
astrapy/admin/endpoints.py:86
↓ 1 callers
Method
as_dict
(self)
astrapy/data/info/table_descriptor/table_columns.py:143
↓ 1 callers
Method
as_dict
Recast this object into a dictionary.
astrapy/data/info/table_descriptor/table_columns.py:229
↓ 1 callers
Method
as_dict
Recast this object into a dictionary.
astrapy/data/info/table_descriptor/table_columns.py:717
↓ 1 callers
Method
as_dict
Recast this object into a dictionary.
astrapy/data/info/table_descriptor/table_listing.py:78
↓ 1 callers
Method
as_dict
(self)
astrapy/data/info/table_descriptor/type_altering.py:44
↓ 1 callers
Method
as_dict
Recast this object into a dictionary.
astrapy/data/info/table_descriptor/type_altering.py:141
↓ 1 callers
Method
as_dict
Recast this object into a dictionary.
astrapy/data/info/table_descriptor/type_altering.py:202
↓ 1 callers
Method
async_list_pcu_groups
( self, *, database_admin_timeout_ms: int | None = None, request_timeout_ms: i
astrapy/admin/admin.py:2501
↓ 1 callers
Function
calc_delta
(prev_j0: dict[str, Any] | None, new_j: dict[str, Any])
tests/coverage_utils/calc_delta.py:52
↓ 1 callers
Function
coerce_possible_embedding_headers_provider
( embedding_api_key: str | EmbeddingHeadersProvider | UnsetType, )
astrapy/authentication.py:63
↓ 1 callers
Function
coerce_possible_reranking_headers_provider
( reranking_api_key: str | RerankingHeadersProvider | UnsetType, )
astrapy/authentication.py:81
↓ 1 callers
Function
coerce_possible_token_provider
( token: str | TokenProvider | UnsetType, )
astrapy/authentication.py:45
↓ 1 callers
Function
compose_full_user_agent
(callers: Sequence[CallerType])
astrapy/utils/user_agents.py:40
↓ 1 callers
Function
compose_user_agent_string
( caller_name: str | None, caller_version: str | None )
astrapy/utils/user_agents.py:28
↓ 1 callers
Function
convert_ejson_date_object_to_apitimestamp
( date_object: dict[str, int], )
astrapy/data/utils/extended_json_converters.py:57
↓ 1 callers
Function
convert_ejson_date_object_to_datetime
( date_object: dict[str, int], tz: datetime.timezone | None )
astrapy/data/utils/extended_json_converters.py:51
↓ 1 callers
Function
convert_ejson_objectid_object_to_objectid
( objectid_object: dict[str, str], )
astrapy/data/utils/extended_json_converters.py:73
↓ 1 callers
Function
convert_ejson_uuid_object_to_uuid
(uuid_object: dict[str, str])
astrapy/data/utils/extended_json_converters.py:69
↓ 1 callers
Function
convert_to_ejson_apitimestamp_object
( date_value: DataAPITimestamp, )
astrapy/data/utils/extended_json_converters.py:33
↓ 1 callers
Function
convert_to_ejson_objectid_object
(objectid_value: ObjectId)
astrapy/data/utils/extended_json_converters.py:47
↓ 1 callers
Function
convert_to_ejson_uuid_object
(uuid_value: UUID)
astrapy/data/utils/extended_json_converters.py:43
↓ 1 callers
Function
convert_vector_to_floats
Convert a vector of strings to a vector of floats. Args: vector (list): A vector of objects. Returns: list: A vector of
astrapy/data/utils/vector_coercion.py:31
↓ 1 callers
Function
database_id_from_endpoint
(api_endpoint: str)
tests/conftest.py:118
↓ 1 callers
Method
default
(self, obj: object)
astrapy/utils/api_commander.py:108
↓ 1 callers
Function
detect_astrapy_user_agent
()
astrapy/utils/user_agents.py:23
↓ 1 callers
Method
difference
(self, *others: Any)
astrapy/data_types/data_api_set.py:140
↓ 1 callers
Function
generic_api_url_parsing_error_message
Format an error message with a suggestion for the expected url format.
astrapy/admin/endpoints.py:131
↓ 1 callers
Method
get_headers
(self)
astrapy/authentication.py:432
↓ 1 callers
Function
get_python_version
Get the version of the currently-running Python interpreter. Returns: version: (major, minor, revision) as a tuple[int, int, int]
astrapy/utils/python_version.py:21
↓ 1 callers
Method
get_table
( self, name: str, *, keyspace: str | None = None, embedding_api_key:
astrapy/data/database.py:3295
↓ 1 callers
Function
get_version
()
astrapy/__init__.py:23
↓ 1 callers
Method
info
Additional information on the database as a AstraDBDatabaseInfo instance. Some of the returned properties are dynamic throughout the
astrapy/data/database.py:2601
↓ 1 callers
Function
is_list_of_floats
Safely determine if it's a list of floats. Assumption: if list, and first item is float, then all items are.
astrapy/data/utils/vector_coercion.py:44
↓ 1 callers
Function
issue_plain_warning
(message: str, stacklevel: int = 2)
astrapy/utils/meta.py:137
↓ 1 callers
Method
list_pcu_groups
( self, *, database_admin_timeout_ms: int | None = None, request_timeout_ms: i
astrapy/admin/admin.py:2392
↓ 1 callers
Function
make_json_report
(r_json: dict[str, float])
tests/coverage_utils/calc_delta.py:99
↓ 1 callers
Function
make_table_report
(r_json: dict[str, float], print_delta: bool = True)
tests/coverage_utils/calc_delta.py:104
↓ 1 callers
Function
parse_args
()
tests/coverage_utils/calc_delta.py:23
↓ 1 callers
Function
parse_generic_api_url
Validate a generic API Endpoint string, such as `http://10.1.1.1:123` or `https://my.domain`. Args: api_endpoint: a string suppo
astrapy/admin/endpoints.py:107
↓ 1 callers
Function
postprocess_collection_response_value
The path helps determining special treatments
astrapy/data/utils/collection_converters.py:143
↓ 1 callers
Method
set_default_id
Deprecated alias for with_default_id. Use with_default_id instead.
astrapy/data/info/collection_descriptor.py:506
↓ 1 callers
Method
set_indexing
Deprecated alias for with_indexing. Use with_indexing instead.
astrapy/data/info/collection_descriptor.py:460
↓ 1 callers
Method
set_lexical
Deprecated alias for with_lexical. Use with_lexical instead.
astrapy/data/info/collection_descriptor.py:1105
↓ 1 callers
Method
set_rerank
Deprecated alias for with_rerank. Use with_rerank instead.
astrapy/data/info/collection_descriptor.py:973
↓ 1 callers
Method
set_vector_dimension
Deprecated alias for with_vector_dimension. Use with_vector_dimension instead.
astrapy/data/info/collection_descriptor.py:546
↓ 1 callers
Method
set_vector_metric
Deprecated alias for with_vector_metric. Use with_vector_metric instead.
astrapy/data/info/collection_descriptor.py:587
↓ 1 callers
Method
set_vector_service
Deprecated alias for with_vector_service. Use with_vector_service instead.
astrapy/data/info/collection_descriptor.py:762
↓ 1 callers
Method
set_vector_source_model
Deprecated alias for with_vector_source_model. Use with_vector_source_model instead.
astrapy/data/info/collection_descriptor.py:631
↓ 1 callers
Method
stack_by_name
( cls, operations: list[AlterTypeOperation] )
astrapy/data/info/table_descriptor/type_altering.py:98
↓ 1 callers
Method
symmetric_difference
(self, other: Any)
astrapy/data_types/data_api_set.py:148
↓ 1 callers
Method
to_string
Express the date as a string according to the Data API convention, including the presence of a sign, and the number of digits, for th
astrapy/data_types/data_api_date.py:148
↓ 1 callers
Method
with_options
( self, *, api_options: APIOptions | UnsetType = _UNSET, )
astrapy/event_observers/context_managers.py:31
Method
__aenter__
(self)
astrapy/utils/api_commander.py:260
Method
__aenter__
(self)
astrapy/data/database.py:2456
Method
__aenter__
(self: AsyncTable[ROW])
astrapy/data/table.py:3445
Method
__aenter__
(self: AsyncCollection[DOC])
astrapy/data/collection.py:3330
Method
__aexit__
( self, exc_type: type[BaseException] | None = None, exc_value: BaseException | None =
astrapy/utils/api_commander.py:263
Method
__aexit__
( self, exc_type: type[BaseException] | None = None, exc_value: BaseException | None =
astrapy/data/database.py:2459
Method
__aexit__
( self, exc_type: type[BaseException] | None = None, exc_value: BaseException | None =
astrapy/data/table.py:3448
← previous
next →
401–500 of 2,040, ranked by callers