Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/datastax/astrapy
/ functions
Functions
2,040 in github.com/datastax/astrapy
⨍
Functions
2,040
◇
Types & classes
298
↳
Endpoints
61
Function
filled_pagination_collection
( sync_empty_collection: DefaultCollection, )
tests/base/integration/collections/test_collection_cursor_sync.py:52
Function
filled_pagination_composite_atable
( async_empty_table_composite: DefaultAsyncTable, )
tests/base/integration/tables/test_table_cursor_async.py:54
Function
filled_pagination_composite_table
( sync_empty_table_composite: DefaultTable, )
tests/base/integration/tables/test_table_cursor_sync.py:52
Function
filled_vectorize_collection
( sync_empty_farr_vectorize_collection: DefaultCollection, )
tests/base/integration/collections/test_collection_farrcursor_sync.py:32
Method
filter
Return a copy of this cursor with a new filter setting. This operation is allowed only if the cursor state is still IDLE. In
astrapy/data/cursors/farr_cursor.py:355
Method
filter
Return a copy of this cursor with a new filter setting. This operation is allowed only if the cursor state is still IDLE. In
astrapy/data/cursors/farr_cursor.py:1223
Method
filter
Return a copy of this cursor with a new filter setting. This operation is allowed only if the cursor state is still IDLE. In
astrapy/data/cursors/find_cursor.py:308
Method
filter
Return a copy of this cursor with a new filter setting. This operation is allowed only if the cursor state is still IDLE. In
astrapy/data/cursors/find_cursor.py:1088
Method
filter
Return a copy of this cursor with a new filter setting. This operation is allowed only if the cursor state is still IDLE. In
astrapy/data/cursors/find_cursor.py:2566
Method
find
( self, filter: FilterType | None = None, *, projection: ProjectionType | None
astrapy/data/table.py:4984
Method
find
( self, filter: FilterType | None = None, *, projection: ProjectionType | None
astrapy/data/collection.py:1023
Method
find
( self, filter: FilterType | None = None, *, projection: ProjectionType | None
astrapy/data/collection.py:4029
Method
find_and_rerank
( self, filter: FilterType | None = None, *, sort: HybridSortType, pro
astrapy/data/collection.py:4555
Method
find_embedding_providers
Query the API for the full information on available embedding providers. Args: filter_model_status: A value of support s
astrapy/admin/admin.py:2744
Method
find_one
Run a search according to the given filtering and sorting criteria and return the top row matching it, or nothing if there are none.
astrapy/data/table.py:5328
Method
find_one
Run a search, returning the first document in the collection that matches provided filters, if any is found. Args:
astrapy/data/collection.py:1269
Method
find_one
Run a search, returning the first document in the collection that matches provided filters, if any is found. Args:
astrapy/data/collection.py:4285
Method
find_one_and_delete
Find a document in the collection and delete it. The deleted document, however, is the return value of the method. Args:
astrapy/data/collection.py:5639
Method
find_one_and_replace
Find a document on the collection and replace it entirely with a new one, optionally inserting a new one if no match is found.
astrapy/data/collection.py:4912
Method
find_one_and_update
Find a document on the collection and update it as requested, optionally inserting a new one if no match is found. Args:
astrapy/data/collection.py:5188
Method
find_reranking_providers
Query the API for the full information on available reranking providers. Args: filter_model_status: A value of support s
astrapy/admin/admin.py:2904
Method
for_each
Consume the remaining documents in the cursor, invoking a provided callback function on each of them. Calling this method on
astrapy/data/cursors/farr_cursor.py:678
Method
for_each
Consume the remaining documents in the cursor, invoking a provided callback function -- or coroutine -- on each of them. Cal
astrapy/data/cursors/farr_cursor.py:1518
Method
for_each
Consume the remaining documents in the cursor, invoking a provided callback function on each of them. Calling this method on
astrapy/data/cursors/find_cursor.py:561
Method
for_each
Consume the remaining documents in the cursor, invoking a provided callback function -- or coroutine -- on each of them. Cal
astrapy/data/cursors/find_cursor.py:1313
Method
for_each
Consume the remaining rows in the cursor, invoking a provided callback function -- or coroutine -- on each of them. Calling
astrapy/data/cursors/find_cursor.py:2791
Method
from_full_dict
Inspect a provided dictionary and make it into the correct concrete subclass of AlterTableOperation depending on its contents.
astrapy/data/info/table_descriptor/table_altering.py:48
Method
from_httpx_error
Parse a httpx status error into this exception.
astrapy/exceptions/devops_api_exceptions.py:98
Method
from_response
Parse a raw response from the API into this exception.
astrapy/exceptions/devops_api_exceptions.py:221
Method
from_string
Parse a string, expressed according to the Data API ISO-8601 format, into a DataAPIDuration. If the format is not recognized, a Value
astrapy/data_types/data_api_duration.py:102
Method
from_string
Convert a string into a DataAPITimestamp, provided the string represents one according to the Data API RFC3339 format conventions. If
astrapy/data_types/data_api_timestamp.py:236
Method
from_string
Convert a string into a DataAPIDate, provided the string represents one according to the Data API format conventions. If the format i
astrapy/data_types/data_api_date.py:229
Method
full_name
The fully-qualified table name within the database, in the form "keyspace.table_name". Example: >>> my_table.ful
astrapy/data/table.py:664
Method
full_name
The fully-qualified table name within the database, in the form "keyspace.table_name". Example: >>> my_async_tab
astrapy/data/table.py:3737
Method
full_name
The fully-qualified collection name within the database, in the form "keyspace.collection_name". Example: >>> my
astrapy/data/collection.py:652
Method
full_name
The fully-qualified collection name within the database, in the form "keyspace.collection_name". Example: >>> my
astrapy/data/collection.py:3655
Method
get_async_database
Create an AsyncDatabase instance for a specific database, to be used when doing data-level work (such as creating/managing collection
astrapy/admin/admin.py:2125
Method
get_async_database
Get an AsyncDatabase object from this database admin.
astrapy/admin/admin.py:2692
Method
get_async_database
Create an AsyncDatabase instance from this database admin, for data-related tasks. Args: keyspace: if provided,
astrapy/admin/admin.py:4299
Method
get_async_database
Create an AsyncDatabase instance for a specific database, to be used when doing data-level work (such as creating/managing collection
astrapy/admin/admin.py:4956
Method
get_async_database_by_api_endpoint
Get an AsyncDatabase object from this client, for doing data-related work. Note: this is an alias for `get_async_database` (see).
astrapy/client.py:413
Method
get_database
Get a Database object from this database admin.
astrapy/admin/admin.py:2687
Method
get_database_by_api_endpoint
Get a Database object from this client, for doing data-related work. Note: this is an alias for `get_database` (see). Args:
astrapy/client.py:369
Method
get_sort_vector
Return the query vector used in the vector (ANN) search that was run as part of the search expressed by this cursor, if applicable.
astrapy/data/cursors/farr_cursor.py:860
Method
get_sort_vector
Return the query vector used in the vector (ANN) search that was run as part of the search expressed by this cursor, if applicable.
astrapy/data/cursors/farr_cursor.py:1653
Method
get_sort_vector
Return the query vector used in the vector (ANN) search that originated this cursor, if applicable. If this is not an ANN search, or
astrapy/data/cursors/find_cursor.py:741
Method
get_sort_vector
Return the query vector used in the vector (ANN) search that originated this cursor, if applicable. If this is not an ANN search, or
astrapy/data/cursors/find_cursor.py:1448
Method
get_sort_vector
Return the query vector used in the vector (ANN) search that originated this cursor, if applicable. If this is not an ANN search, or
astrapy/data/cursors/find_cursor.py:2926
Method
has_next
Whether the cursor actually has more documents to return. `has_next` can be called on any cursor, but on a CLOSED cursor wil
astrapy/data/cursors/farr_cursor.py:832
Method
has_next
Whether the cursor actually has more documents to return. `has_next` can be called on any cursor, but on a CLOSED cursor wil
astrapy/data/cursors/farr_cursor.py:1625
Method
has_next
Whether the cursor actually has more documents to return. `has_next` can be called on any cursor, but on a CLOSED cursor wil
astrapy/data/cursors/find_cursor.py:713
Method
has_next
Whether the cursor actually has more documents to return. `has_next` can be called on any cursor, but on a CLOSED cursor wil
astrapy/data/cursors/find_cursor.py:1420
Method
has_next
Whether the cursor actually has more documents to return. `has_next` can be called on any cursor, but on a CLOSED cursor wil
astrapy/data/cursors/find_cursor.py:2898
Method
hv_matcher
(hk: str, hv: str | None, ev: str)
tests/base/unit/test_apicommander.py:125
Method
hybrid_limits
Return a copy of this cursor with a new hybrid_limits setting. This operation is allowed only if the cursor state is still IDLE.
astrapy/data/cursors/farr_cursor.py:1311
Method
id
The ID of this database. Not available outside of Astra DB and when using custom domains. Example: >>> my_db.id
astrapy/data/database.py:424
Method
id
The ID of this database. Not available outside of Astra DB and when using custom domains. Example: >>> my_async_
astrapy/data/database.py:2668
Method
id
The ID of this database admin. Example: >>> my_db_admin.id '01234567-89ab-cdef-0123-456789abcdef'
astrapy/admin/admin.py:3360
Method
include_scores
Return a copy of this cursor with a new include_scores setting. This operation is allowed only if the cursor state is still IDLE.
astrapy/data/cursors/farr_cursor.py:1354
Method
include_similarity
Return a copy of this cursor with a new include_similarity setting. This operation is allowed only if the cursor state is still IDLE
astrapy/data/cursors/find_cursor.py:414
Method
include_similarity
Return a copy of this cursor with a new include_similarity setting. This operation is allowed only if the cursor state is still IDLE
astrapy/data/cursors/find_cursor.py:1194
Method
include_similarity
Return a copy of this cursor with a new include_similarity setting. This operation is allowed only if the cursor state is still IDLE
astrapy/data/cursors/find_cursor.py:2672
Method
include_sort_vector
Return a copy of this cursor with a new include_sort_vector setting. This operation is allowed only if the cursor state is still IDLE
astrapy/data/cursors/farr_cursor.py:508
Method
include_sort_vector
Return a copy of this cursor with a new include_sort_vector setting. This operation is allowed only if the cursor state is still IDLE
astrapy/data/cursors/farr_cursor.py:1376
Method
include_sort_vector
Return a copy of this cursor with a new include_sort_vector setting. This operation is allowed only if the cursor state is still IDLE
astrapy/data/cursors/find_cursor.py:442
Method
include_sort_vector
Return a copy of this cursor with a new include_sort_vector setting. This operation is allowed only if the cursor state is still IDLE
astrapy/data/cursors/find_cursor.py:1222
Method
include_sort_vector
Return a copy of this cursor with a new include_sort_vector setting. This operation is allowed only if the cursor state is still IDLE
astrapy/data/cursors/find_cursor.py:2700
Method
info
Return information on the table. This should not be confused with the table definition (i.e. the schema). Args:
astrapy/data/table.py:3649
Method
info
Information on the collection (name, location, database), in the form of a CollectionInfo object. Not to be confused with th
astrapy/data/collection.py:3564
Method
ingest
(doc: DefaultDocumentType, acc: list[int] = accum)
tests/base/integration/collections/test_collection_dml_async.py:681
Method
ingest
(doc: DefaultDocumentType, acc: list[int] = accum)
tests/base/integration/collections/test_collection_dml_sync.py:618
Method
initial_page_state
Return a copy of this cursor with a new initial_page_state setting. This operation is allowed only if the cursor state is still IDLE.
astrapy/data/cursors/farr_cursor.py:464
Method
initial_page_state
Return a copy of this cursor with a new initial_page_state setting. This operation is allowed only if the cursor state is still IDLE.
astrapy/data/cursors/farr_cursor.py:1332
Method
initial_page_state
Return a copy of this cursor with a new initial_page_state setting. This operation is allowed only if the cursor state is still IDLE.
astrapy/data/cursors/find_cursor.py:392
Method
initial_page_state
Return a copy of this cursor with a new initial_page_state setting. This operation is allowed only if the cursor state is still IDLE.
astrapy/data/cursors/find_cursor.py:1172
Method
initial_page_state
Return a copy of this cursor with a new initial_page_state setting. This operation is allowed only if the cursor state is still IDLE.
astrapy/data/cursors/find_cursor.py:2650
Method
insert_many
Insert a number of rows into the table, with implied overwrite in case of primary key collision. Inserting rows whose primar
astrapy/data/table.py:4652
Method
insert_many
Insert a list of documents into the collection. This is not an atomic operation. Args: documents: an iterable of
astrapy/data/collection.py:749
Method
insert_many
Insert a list of documents into the collection. This is not an atomic operation. Args: documents: an iterable of
astrapy/data/collection.py:3757
Method
insert_one
Insert a single row in the table, with implied overwrite in case of primary key collision. Inserting a row whose primary key
astrapy/data/table.py:4456
Method
insert_one
Insert a single document in the collection in an atomic operation. Args: document: the dictionary expressing the documen
astrapy/data/collection.py:664
Method
insert_one
Insert a single document in the collection in an atomic operation. Args: document: the dictionary expressing the documen
astrapy/data/collection.py:3667
Method
intersection
(self, *others: Any)
astrapy/data_types/data_api_set.py:132
Method
irepr
(val: int)
astrapy/data_types/data_api_duration.py:80
Function
is_future_version
(v_string: str)
tests/conftest.py:126
Method
isdisjoint
(self, other: Any)
astrapy/data_types/data_api_set.py:118
Method
keyspace
The keyspace this database uses as target for all commands when no method-call-specific keyspace is specified. Returns:
astrapy/data/database.py:494
Method
keyspace
The keyspace this database uses as target for all commands when no method-call-specific keyspace is specified. Returns:
astrapy/data/database.py:2740
Method
keyspace
The keyspace this table is in. Example: >>> my_table.keyspace 'default_keyspace'
astrapy/data/table.py:637
Method
keyspace
The keyspace this table is in. Example: >>> my_async_table.keyspace 'default_keyspace'
astrapy/data/table.py:3710
Method
keyspace
The keyspace this collection is in. Example: >>> my_coll.keyspace 'default_keyspace'
astrapy/data/collection.py:625
Method
keyspace
The keyspace this collection is in. Example: >>> my_async_coll.keyspace 'default_keyspace'
astrapy/data/collection.py:3628
Function
lexical_collection_parameters
()
tests/base/conftest.py:298
Method
limit
Return a copy of this cursor with a new limit setting. This operation is allowed only if the cursor state is still IDLE. Ins
astrapy/data/cursors/farr_cursor.py:424
Method
limit
Return a copy of this cursor with a new limit setting. This operation is allowed only if the cursor state is still IDLE. Ins
astrapy/data/cursors/farr_cursor.py:1292
Method
limit
Return a copy of this cursor with a new limit setting. This operation is allowed only if the cursor state is still IDLE. Ins
astrapy/data/cursors/find_cursor.py:373
Method
limit
Return a copy of this cursor with a new limit setting. This operation is allowed only if the cursor state is still IDLE. Ins
astrapy/data/cursors/find_cursor.py:1153
Method
limit
Return a copy of this cursor with a new limit setting. This operation is allowed only if the cursor state is still IDLE. Ins
astrapy/data/cursors/find_cursor.py:2631
Method
list_collection_names
List the names of all collections in a given keyspace of this database. Args: keyspace: the keyspace to be inspected. If
astrapy/data/database.py:3238
Method
list_collections
List all collections in a given keyspace for this database. Args: keyspace: the keyspace to be inspected. If not specifi
astrapy/data/database.py:3160
← previous
next →
1,101–1,200 of 2,040, ranked by callers