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
Method
list_index_names
List the names of all indexes existing on this table. Args: table_admin_timeout_ms: a timeout, in milliseconds, to impos
astrapy/data/table.py:4178
Method
list_indexes
List the full definitions of all indexes existing on this table. Args: table_admin_timeout_ms: a timeout, in millisecond
astrapy/data/table.py:4230
Method
list_keyspaces
Query the API for a list of the keyspaces in the database. Args: keyspace_admin_timeout_ms: a timeout, in milliseconds,
astrapy/admin/admin.py:4518
Method
list_table_names
List the names of all tables in a given keyspace of this database. Args: keyspace: the keyspace to be inspected. If not
astrapy/data/database.py:3977
Method
list_tables
List all tables in a given keyspace for this database. Args: keyspace: the keyspace to be inspected. If not specified,
astrapy/data/database.py:3897
Method
list_type_names
List the names of all user-defined types (UDTs) in a keyspace of this database. Args: keyspace: the keyspace to be inspe
astrapy/data/database.py:4127
Method
list_types
List all user-defined types (UDTs) in a keyspace of this database. Args: keyspace: the keyspace to be inspected. If not
astrapy/data/database.py:4183
Function
main
()
astrapy/repl.py:295
Method
map
Return a copy of this cursor with a mapping function to transform the returned items. Calling this method on a cursor with a mapping
astrapy/data/cursors/farr_cursor.py:593
Method
map
Return a copy of this cursor with a mapping function to transform the returned items. Calling this method on a cursor with a mapping
astrapy/data/cursors/farr_cursor.py:1461
Method
map
Return a copy of this cursor with a mapping function to transform the returned items. Calling this method on a cursor with a mapping
astrapy/data/cursors/find_cursor.py:483
Method
map
Return a copy of this cursor with a mapping function to transform the returned items. Calling this method on a cursor with a mapping
astrapy/data/cursors/find_cursor.py:1263
Method
map
Return a copy of this cursor with a mapping function to transform the returned items. Calling this method on a cursor with a mapping
astrapy/data/cursors/find_cursor.py:2741
Function
map2tuple_checker_insert_many
(path: list[str])
astrapy/data/table.py:89
Function
map2tuple_checker_insert_one
(path: list[str])
astrapy/data/table.py:97
Function
map2tuple_checker_update_one
(path: list[str])
astrapy/data/table.py:105
Method
mapper
(doc: DefaultDocumentType)
tests/base/integration/collections/test_collection_dml_async.py:647
Method
mapper
(doc: DefaultDocumentType)
tests/base/integration/collections/test_collection_dml_sync.py:584
Method
mapper_2
(strint: str)
tests/base/integration/collections/test_collection_typing.py:269
Method
mapper_2
(tup: tuple[int, str])
tests/base/integration/collections/test_collection_dml_async.py:659
Method
mapper_2
(tup: tuple[int, str])
tests/base/integration/collections/test_collection_dml_sync.py:596
Method
marker0
(row: dict[str, Any], acc: list[dict[str, Any]] = accum0)
tests/base/integration/collections/test_collection_cursor_sync.py:347
Method
marker0
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_sync.py:427
Method
marker0
(row: dict[str, Any], acc: list[dict[str, Any]] = accum0)
tests/base/integration/collections/test_collection_cursor_async.py:349
Method
marker0
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_async.py:438
Method
marker0
(row: dict[str, Any], acc: list[dict[str, Any]] = accum0)
tests/base/integration/tables/test_table_cursor_async.py:349
Method
marker0
(row: dict[str, Any], acc: list[dict[str, Any]] = accum0)
tests/base/integration/tables/test_table_cursor_sync.py:347
Method
marker1
(row: dict[str, Any], acc: list[dict[str, Any]] = accum1)
tests/base/integration/collections/test_collection_cursor_sync.py:358
Method
marker1
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_sync.py:444
Method
marker1
(row: dict[str, Any], acc: list[dict[str, Any]] = accum1)
tests/base/integration/collections/test_collection_cursor_async.py:374
Method
marker1
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_async.py:455
Method
marker1
(row: dict[str, Any], acc: list[dict[str, Any]] = accum1)
tests/base/integration/tables/test_table_cursor_async.py:374
Method
marker1
(row: dict[str, Any], acc: list[dict[str, Any]] = accum1)
tests/base/integration/tables/test_table_cursor_sync.py:358
Method
marker2
(val: int, acc: list[int] = accum2)
tests/base/integration/collections/test_collection_cursor_sync.py:371
Method
marker2
(val: int, acc: list[int] = accum2)
tests/base/integration/collections/test_collection_farrcursor_sync.py:463
Method
marker2
(val: int, acc: list[int] = accum2)
tests/base/integration/collections/test_collection_cursor_async.py:403
Method
marker2
(val: int, acc: list[int] = accum2)
tests/base/integration/collections/test_collection_farrcursor_async.py:474
Method
marker2
(val: int, acc: list[int] = accum2)
tests/base/integration/tables/test_table_cursor_async.py:403
Method
marker2
(val: int, acc: list[int] = accum2)
tests/base/integration/tables/test_table_cursor_sync.py:371
Method
marker3
(row: dict[str, Any], acc: list[dict[str, Any]] = accum3)
tests/base/integration/collections/test_collection_cursor_sync.py:384
Method
marker3
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_sync.py:479
Method
marker3
(row: dict[str, Any], acc: list[dict[str, Any]] = accum3)
tests/base/integration/collections/test_collection_cursor_async.py:429
Method
marker3
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_async.py:490
Method
marker3
(row: dict[str, Any], acc: list[dict[str, Any]] = accum3)
tests/base/integration/tables/test_table_cursor_async.py:432
Method
marker3
(row: dict[str, Any], acc: list[dict[str, Any]] = accum3)
tests/base/integration/tables/test_table_cursor_sync.py:384
Method
marker4
(row: dict[str, Any], acc: list[dict[str, Any]] = accum4)
tests/base/integration/collections/test_collection_cursor_sync.py:398
Method
marker4
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_sync.py:499
Method
marker4
(row: dict[str, Any], acc: list[dict[str, Any]] = accum4)
tests/base/integration/collections/test_collection_cursor_async.py:460
Method
marker4
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_async.py:510
Method
marker4
(row: dict[str, Any], acc: list[dict[str, Any]] = accum4)
tests/base/integration/tables/test_table_cursor_async.py:463
Method
marker4
(row: dict[str, Any], acc: list[dict[str, Any]] = accum4)
tests/base/integration/tables/test_table_cursor_sync.py:398
Method
mint
(row: dict[str, Any])
tests/base/integration/collections/test_collection_cursor_sync.py:279
Method
mint
(r_result: RerankedResult[DefaultDocumentType])
tests/base/integration/collections/test_collection_farrcursor_sync.py:327
Method
mint
(row: dict[str, Any])
tests/base/integration/collections/test_collection_cursor_async.py:281
Method
mint
(r_result: RerankedResult[DefaultDocumentType])
tests/base/integration/collections/test_collection_farrcursor_async.py:335
Method
mint
(row: dict[str, Any])
tests/base/integration/tables/test_table_cursor_async.py:281
Method
mint
(row: dict[str, Any])
tests/base/integration/tables/test_table_cursor_sync.py:279
Method
mmult
(val: int)
tests/base/integration/collections/test_collection_cursor_sync.py:282
Method
mmult
(val: int)
tests/base/integration/collections/test_collection_farrcursor_sync.py:330
Method
mmult
(val: int)
tests/base/integration/collections/test_collection_cursor_async.py:284
Method
mmult
(val: int)
tests/base/integration/collections/test_collection_farrcursor_async.py:338
Method
mmult
(val: int)
tests/base/integration/tables/test_table_cursor_async.py:284
Method
mmult
(val: int)
tests/base/integration/tables/test_table_cursor_sync.py:282
Function
mock_acollection
( httpserver: HTTPServer, mock_collection: DefaultCollection )
tests/base/unit/test_collection_timeouts.py:56
Function
mock_astra_admin
(httpserver: HTTPServer)
tests/base/unit/test_admin_create_database_sync.py:36
Function
mock_astra_admin
(httpserver: HTTPServer)
tests/base/unit/test_admin_create_database_async.py:36
Function
mock_atable
(httpserver: HTTPServer, mock_table: DefaultTable)
tests/base/unit/test_table_dry_methods.py:50
Function
mock_collection
(httpserver: HTTPServer)
tests/base/unit/test_collection_timeouts.py:40
Function
mock_table
(httpserver: HTTPServer)
tests/base/unit/test_table_dry_methods.py:34
Method
name
The name of this database. Note that this bears no unicity guarantees. Calling this method the first time involves a request
astrapy/data/database.py:476
Method
name
The name of this database. Note that this bears no unicity guarantees. Calling this method the first time involves a request
astrapy/data/database.py:2720
Method
name
The name of this table. Example: >>> my_async_table.name 'my_table'
astrapy/data/table.py:3725
Method
name
The name of this collection. Example: >>> my_coll.name 'my_v_collection'
astrapy/data/collection.py:640
Method
name
The name of this collection. Example: >>> my_async_coll.name 'my_v_collection'
astrapy/data/collection.py:3643
Method
options
Get the collection options, i.e. its configuration as read from the database. The method issues a request to the Data API each time
astrapy/data/collection.py:3505
Method
parse_and_back_year_str
(year_str: str)
tests/base/unit/test_dataapitimestamp.py:180
Method
parse_and_back_year_str
(year_str: str)
tests/base/unit/test_dataapidate.py:131
Function
player_udt
Creation (and then cleanup) of a UDT. Returns the type name.
tests/base/conftest.py:421
Method
project
Return a copy of this cursor with a new projection setting. This operation is allowed only if the cursor state is still IDLE and if
astrapy/data/cursors/farr_cursor.py:376
Method
project
Return a copy of this cursor with a new projection setting. This operation is allowed only if the cursor state is still IDLE and if
astrapy/data/cursors/farr_cursor.py:1244
Method
project
Return a copy of this cursor with a new projection setting. This operation is allowed only if the cursor state is still IDLE and if
astrapy/data/cursors/find_cursor.py:327
Method
project
Return a copy of this cursor with a new projection setting. This operation is allowed only if the cursor state is still IDLE and if
astrapy/data/cursors/find_cursor.py:1107
Method
project
Return a copy of this cursor with a new projection setting. This operation is allowed only if the cursor state is still IDLE and if
astrapy/data/cursors/find_cursor.py:2585
Method
receive
( self, event: ObservableEvent, sender: Any = None,
astrapy/event_observers/observers.py:102
Method
receive
( self, event: ObservableEvent, sender: Any = None,
astrapy/event_observers/observers.py:162
Method
receive
( self, event: ObservableEvent, sender: Any = None,
tests/base/unit/test_observing_events.py:429
Method
receive
( self, event: ObservableEvent, sender: Any = None,
tests/base/unit/test_observing_events.py:517
Method
region
The region where this database is located. The region is still well defined in case of multi-region databases, since a Datab
astrapy/data/database.py:448
Method
region
The region where this database is located. The region is still well defined in case of multi-region databases, since a Datab
astrapy/data/database.py:2692
Method
region
The region for this database admin. Example: >>> my_db_admin.region 'us-east-1'
astrapy/admin/admin.py:3371
Method
replace_one
Replace a single document on the collection with a new one, optionally inserting a new one if no match is found. Args:
astrapy/data/collection.py:5069
Function
require_empty_target_database
Refuse to run the integration suite against a populated database. The base integration tests freely create and drop collections, tables and
tests/base/integration/conftest.py:68
Function
require_empty_target_database
Refuse to run the vectorize integration suite against a populated database. Starting from a non-empty database can make the suite fail much
tests/vectorize/conftest.py:28
Method
rerank_on
Return a copy of this cursor with a new rerank_on setting. This operation is allowed only if the cursor state is still IDLE.
astrapy/data/cursors/farr_cursor.py:1398
Method
rerank_query
Return a copy of this cursor with a new rerank_query setting. This operation is allowed only if the cursor state is still IDLE.
astrapy/data/cursors/farr_cursor.py:1419
Method
rerank_service
Return a copy of this cursor with a new rerank_service setting. This operation is allowed only if the cursor state is still IDLE.
astrapy/data/cursors/farr_cursor.py:1440
Function
rerankservice_collection_parameters
()
tests/base/conftest.py:288
Function
response_sleeper
(request: werkzeug.Request)
tests/base/unit/test_timeouts.py:44
Function
response_sleeper
(request: werkzeug.Request)
tests/base/unit/test_collection_timeouts.py:62
Function
service_collection_parameters
()
tests/base/conftest.py:232
← previous
next →
1,201–1,300 of 2,040, ranked by callers