MCPcopy Create free account

hub / github.com/datastax/astrapy / functions

Functions2,040 in github.com/datastax/astrapy

Methodlist_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
Methodlist_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
Methodlist_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
Methodlist_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
Methodlist_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
Methodlist_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
Methodlist_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
Functionmain
()
astrapy/repl.py:295
Methodmap
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
Methodmap
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
Methodmap
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
Methodmap
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
Methodmap
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
Functionmap2tuple_checker_insert_many
(path: list[str])
astrapy/data/table.py:89
Functionmap2tuple_checker_insert_one
(path: list[str])
astrapy/data/table.py:97
Functionmap2tuple_checker_update_one
(path: list[str])
astrapy/data/table.py:105
Methodmapper
(doc: DefaultDocumentType)
tests/base/integration/collections/test_collection_dml_async.py:647
Methodmapper
(doc: DefaultDocumentType)
tests/base/integration/collections/test_collection_dml_sync.py:584
Methodmapper_2
(strint: str)
tests/base/integration/collections/test_collection_typing.py:269
Methodmapper_2
(tup: tuple[int, str])
tests/base/integration/collections/test_collection_dml_async.py:659
Methodmapper_2
(tup: tuple[int, str])
tests/base/integration/collections/test_collection_dml_sync.py:596
Methodmarker0
(row: dict[str, Any], acc: list[dict[str, Any]] = accum0)
tests/base/integration/collections/test_collection_cursor_sync.py:347
Methodmarker0
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_sync.py:427
Methodmarker0
(row: dict[str, Any], acc: list[dict[str, Any]] = accum0)
tests/base/integration/collections/test_collection_cursor_async.py:349
Methodmarker0
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_async.py:438
Methodmarker0
(row: dict[str, Any], acc: list[dict[str, Any]] = accum0)
tests/base/integration/tables/test_table_cursor_async.py:349
Methodmarker0
(row: dict[str, Any], acc: list[dict[str, Any]] = accum0)
tests/base/integration/tables/test_table_cursor_sync.py:347
Methodmarker1
(row: dict[str, Any], acc: list[dict[str, Any]] = accum1)
tests/base/integration/collections/test_collection_cursor_sync.py:358
Methodmarker1
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_sync.py:444
Methodmarker1
(row: dict[str, Any], acc: list[dict[str, Any]] = accum1)
tests/base/integration/collections/test_collection_cursor_async.py:374
Methodmarker1
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_async.py:455
Methodmarker1
(row: dict[str, Any], acc: list[dict[str, Any]] = accum1)
tests/base/integration/tables/test_table_cursor_async.py:374
Methodmarker1
(row: dict[str, Any], acc: list[dict[str, Any]] = accum1)
tests/base/integration/tables/test_table_cursor_sync.py:358
Methodmarker2
(val: int, acc: list[int] = accum2)
tests/base/integration/collections/test_collection_cursor_sync.py:371
Methodmarker2
(val: int, acc: list[int] = accum2)
tests/base/integration/collections/test_collection_farrcursor_sync.py:463
Methodmarker2
(val: int, acc: list[int] = accum2)
tests/base/integration/collections/test_collection_cursor_async.py:403
Methodmarker2
(val: int, acc: list[int] = accum2)
tests/base/integration/collections/test_collection_farrcursor_async.py:474
Methodmarker2
(val: int, acc: list[int] = accum2)
tests/base/integration/tables/test_table_cursor_async.py:403
Methodmarker2
(val: int, acc: list[int] = accum2)
tests/base/integration/tables/test_table_cursor_sync.py:371
Methodmarker3
(row: dict[str, Any], acc: list[dict[str, Any]] = accum3)
tests/base/integration/collections/test_collection_cursor_sync.py:384
Methodmarker3
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_sync.py:479
Methodmarker3
(row: dict[str, Any], acc: list[dict[str, Any]] = accum3)
tests/base/integration/collections/test_collection_cursor_async.py:429
Methodmarker3
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_async.py:490
Methodmarker3
(row: dict[str, Any], acc: list[dict[str, Any]] = accum3)
tests/base/integration/tables/test_table_cursor_async.py:432
Methodmarker3
(row: dict[str, Any], acc: list[dict[str, Any]] = accum3)
tests/base/integration/tables/test_table_cursor_sync.py:384
Methodmarker4
(row: dict[str, Any], acc: list[dict[str, Any]] = accum4)
tests/base/integration/collections/test_collection_cursor_sync.py:398
Methodmarker4
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_sync.py:499
Methodmarker4
(row: dict[str, Any], acc: list[dict[str, Any]] = accum4)
tests/base/integration/collections/test_collection_cursor_async.py:460
Methodmarker4
( r_result: RerankedResult[DefaultDocumentType], acc: list[RerankedResult[DefaultDocum
tests/base/integration/collections/test_collection_farrcursor_async.py:510
Methodmarker4
(row: dict[str, Any], acc: list[dict[str, Any]] = accum4)
tests/base/integration/tables/test_table_cursor_async.py:463
Methodmarker4
(row: dict[str, Any], acc: list[dict[str, Any]] = accum4)
tests/base/integration/tables/test_table_cursor_sync.py:398
Methodmint
(row: dict[str, Any])
tests/base/integration/collections/test_collection_cursor_sync.py:279
Methodmint
(r_result: RerankedResult[DefaultDocumentType])
tests/base/integration/collections/test_collection_farrcursor_sync.py:327
Methodmint
(row: dict[str, Any])
tests/base/integration/collections/test_collection_cursor_async.py:281
Methodmint
(r_result: RerankedResult[DefaultDocumentType])
tests/base/integration/collections/test_collection_farrcursor_async.py:335
Methodmint
(row: dict[str, Any])
tests/base/integration/tables/test_table_cursor_async.py:281
Methodmint
(row: dict[str, Any])
tests/base/integration/tables/test_table_cursor_sync.py:279
Methodmmult
(val: int)
tests/base/integration/collections/test_collection_cursor_sync.py:282
Methodmmult
(val: int)
tests/base/integration/collections/test_collection_farrcursor_sync.py:330
Methodmmult
(val: int)
tests/base/integration/collections/test_collection_cursor_async.py:284
Methodmmult
(val: int)
tests/base/integration/collections/test_collection_farrcursor_async.py:338
Methodmmult
(val: int)
tests/base/integration/tables/test_table_cursor_async.py:284
Methodmmult
(val: int)
tests/base/integration/tables/test_table_cursor_sync.py:282
Functionmock_acollection
( httpserver: HTTPServer, mock_collection: DefaultCollection )
tests/base/unit/test_collection_timeouts.py:56
Functionmock_astra_admin
(httpserver: HTTPServer)
tests/base/unit/test_admin_create_database_sync.py:36
Functionmock_astra_admin
(httpserver: HTTPServer)
tests/base/unit/test_admin_create_database_async.py:36
Functionmock_atable
(httpserver: HTTPServer, mock_table: DefaultTable)
tests/base/unit/test_table_dry_methods.py:50
Functionmock_collection
(httpserver: HTTPServer)
tests/base/unit/test_collection_timeouts.py:40
Functionmock_table
(httpserver: HTTPServer)
tests/base/unit/test_table_dry_methods.py:34
Methodname
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
Methodname
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
Methodname
The name of this table. Example: >>> my_async_table.name 'my_table'
astrapy/data/table.py:3725
Methodname
The name of this collection. Example: >>> my_coll.name 'my_v_collection'
astrapy/data/collection.py:640
Methodname
The name of this collection. Example: >>> my_async_coll.name 'my_v_collection'
astrapy/data/collection.py:3643
Methodoptions
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
Methodparse_and_back_year_str
(year_str: str)
tests/base/unit/test_dataapitimestamp.py:180
Methodparse_and_back_year_str
(year_str: str)
tests/base/unit/test_dataapidate.py:131
Functionplayer_udt
Creation (and then cleanup) of a UDT. Returns the type name.
tests/base/conftest.py:421
Methodproject
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
Methodproject
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
Methodproject
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
Methodproject
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
Methodproject
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
Methodreceive
( self, event: ObservableEvent, sender: Any = None,
astrapy/event_observers/observers.py:102
Methodreceive
( self, event: ObservableEvent, sender: Any = None,
astrapy/event_observers/observers.py:162
Methodreceive
( self, event: ObservableEvent, sender: Any = None,
tests/base/unit/test_observing_events.py:429
Methodreceive
( self, event: ObservableEvent, sender: Any = None,
tests/base/unit/test_observing_events.py:517
Methodregion
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
Methodregion
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
Methodregion
The region for this database admin. Example: >>> my_db_admin.region 'us-east-1'
astrapy/admin/admin.py:3371
Methodreplace_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
Functionrequire_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
Functionrequire_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
Methodrerank_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
Methodrerank_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
Methodrerank_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
Functionrerankservice_collection_parameters
()
tests/base/conftest.py:288
Functionresponse_sleeper
(request: werkzeug.Request)
tests/base/unit/test_timeouts.py:44
Functionresponse_sleeper
(request: werkzeug.Request)
tests/base/unit/test_collection_timeouts.py:62
Functionservice_collection_parameters
()
tests/base/conftest.py:232
← previousnext →1,201–1,300 of 2,040, ranked by callers