From 81e2e312efe93e800b66aee3ea8396c2b6d6d2a5 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Fri, 4 Sep 2026 16:34:42 +0000 Subject: [PATCH 1/2] ## Python SDK Changes: * `textql.chats.attach_app()`: `response.cell.union(list_apps_cell).list_apps_cell.apps[]` **Changed** * `textql.chats.attach_dashboard()`: `response.cell.union(list_apps_cell).list_apps_cell.apps[]` **Changed** * `textql.chats.attach_dataset()`: `response.cell.union(list_apps_cell).list_apps_cell.apps[]` **Changed** * `textql.chats.check_streamlit_health()`: `response.cell.union(list_apps_cell).list_apps_cell.apps[]` **Changed** * `textql.chats.get_history()`: `response.cells[].union(list_apps_cell).list_apps_cell.apps[]` **Changed** * `textql.chats.poll_events()`: `response.events[].union(cell).cell.union(list_apps_cell).list_apps_cell.apps[]` **Changed** * `textql.chats.query_one_shot()`: `response.cells[].union(list_apps_cell).list_apps_cell.apps[]` **Changed** * `textql.chats.run()`: `response.cells[].union(list_apps_cell).list_apps_cell.apps[]` **Changed** * `textql.observability.get_check_record_fix()`: `response.fix_patch_cell.union(list_apps_cell).list_apps_cell.apps[]` **Changed** * `textql.observability.get_thread_warnings()`: `response.warnings_by_chat.Map.warnings[].fix_patch_cell.union(list_apps_cell).list_apps_cell.apps[]` **Changed** --- .speakeasy/gen.lock | 157 ++++++++++-------- .speakeasy/gen.yaml | 2 +- .speakeasy/out.openapi.yaml | 38 +++-- .speakeasy/workflow.lock | 10 +- RELEASES.md | 12 +- docs/models/textqlrpcpubliccellsappinfo.md | 6 +- ...tqlrpcpublicconnectorconnectorstatentry.md | 6 +- ...icconnectorconnectorstatentryquerycount.md | 2 - .../textqlrpcpublicconnectorexamplequery.md | 4 +- ...publicconnectorgetconnectorstatsrequest.md | 2 +- ...ublicconnectorgetconnectorstatsresponse.md | 4 +- ...ublicconnectorgetexamplequeriesresponse.md | 2 +- ...blicconnectorlistconnectortablesrequest.md | 6 +- ...ublicconnectorlistquerytemplatesrequest.md | 12 +- ...blicconnectorlistquerytemplatesresponse.md | 2 +- ...cpublicconnectorpowerbiconnectorcontext.md | 10 +- ...tqlrpcpublicconnectorprimarykeymetadata.md | 8 +- .../textqlrpcpublicconnectorquerytemplate.md | 4 +- ...qlrpcpublicconnectorquerytemplatecteref.md | 2 +- ...extqlrpcpublicconnectorredshiftmetadata.md | 34 ++-- docs/sdks/connectors/README.md | 10 +- pyproject.toml | 2 +- src/textql_sdk/_version.py | 4 +- src/textql_sdk/connectors.py | 20 +-- .../models/textql_rpc_public_cells_appinfo.py | 21 ++- ...rpc_public_connector_connectorstatentry.py | 12 +- ...extql_rpc_public_connector_examplequery.py | 4 +- ...blic_connector_getconnectorstatsrequest.py | 2 + ...lic_connector_getconnectorstatsresponse.py | 6 + ...lic_connector_getexamplequeriesresponse.py | 2 - ...ic_connector_listconnectortablesrequest.py | 2 - ...lic_connector_listquerytemplatesrequest.py | 10 +- ...ic_connector_listquerytemplatesresponse.py | 2 - ...ublic_connector_powerbiconnectorcontext.py | 2 - ...rpc_public_connector_primarykeymetadata.py | 8 + ...xtql_rpc_public_connector_querytemplate.py | 4 + ...pc_public_connector_querytemplatecteref.py | 2 + ...l_rpc_public_connector_redshiftmetadata.py | 8 + uv.lock | 2 +- 39 files changed, 259 insertions(+), 187 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 3e33c3c8..352bbd95 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,19 +1,19 @@ lockVersion: 2.0.0 id: 140336b3-3873-4a19-9c47-b02749d85f10 management: - docChecksum: 1093412015b589d7e2e94be2bdc5f4d0 + docChecksum: c8c3b3adb2d9cccc0061a6ff891aa618 docVersion: 1.0.0 speakeasyVersion: 1.796.4 generationVersion: 2.935.1 - releaseVersion: 1.1.18 - configChecksum: d67ac5ebdba144bc9b0ec8a2b2612fa2 + releaseVersion: 1.1.19 + configChecksum: 5d5f40bd49d35059dd254b754a1fbf78 repoURL: https://github.com/TextQLLabs/textql-python-v3.git installationURL: https://github.com/TextQLLabs/textql-python-v3.git published: true persistentEdits: - generation_id: 8dc5aba6-f578-4cc4-a9f9-14f66167e3c4 - pristine_commit_hash: 72a3133cce9d04734a14044cb037dabf587bf224 - pristine_tree_hash: 2df0859827d6a0c6242a3f8b2202c84e725c5ad3 + generation_id: 5403e0c4-b1f2-43b0-b75c-51ac50f3044f + pristine_commit_hash: 2130a700bce3e9ebcccb8683c20c0667cfbc9f4a + pristine_tree_hash: d7cb4cc7d90930ce44aaaff34e5184d3055d96f9 features: python: additionalDependencies: 1.1.0 @@ -4675,8 +4675,8 @@ trackedFiles: pristine_git_object: 8c96d522deb1fb08a1875e02480c097d4ec16741 docs/models/textqlrpcpubliccellsappinfo.md: id: bd857632bc73 - last_write_checksum: sha1:5abdc13f5057b7fd1c31e88d022ee205713e365a - pristine_git_object: 962363626631c0d1c5f071c25aba7040838e4466 + last_write_checksum: sha1:f24873bf409d7b5811d4e6e7849df759daad6879 + pristine_git_object: e2a66cc1da25a9950f3d7559c0e4b5fa61cbbf28 docs/models/textqlrpcpubliccellsbashcell.md: id: eab710088a43 last_write_checksum: sha1:60d1f4828438167af4e03b5c90d9511a9cea120b @@ -5991,12 +5991,12 @@ trackedFiles: pristine_git_object: 4034b520bbf26f6ab1ba2283de0ce6e95ad8685b docs/models/textqlrpcpublicconnectorconnectorstatentry.md: id: b07370441fb0 - last_write_checksum: sha1:8fcd20f2239fac3373546c16c1f5ed80d3b4316d - pristine_git_object: e5b0321f43861451649c3cc9942c00a9a55b4127 + last_write_checksum: sha1:8f15537cd89e94e337238fd31551855f0fd654cf + pristine_git_object: 8478cadb3a575189909210f8434d76021636c1b3 docs/models/textqlrpcpublicconnectorconnectorstatentryquerycount.md: id: bc5024228eab - last_write_checksum: sha1:ee3e7e20ef799eb3347a6af81e2121cf786e3e2e - pristine_git_object: d96b94e57f58731fb9f8a7ebd312c375862930d6 + last_write_checksum: sha1:af35edc39279afc061724e4873976895296ae2ee + pristine_git_object: faa45a1ed1cb7091c45b9832a3aeccffd2d0ab0a docs/models/textqlrpcpublicconnectorconnectortable.md: id: 5a3b7198f88a last_write_checksum: sha1:ce314dd682ff15518342802ff9d5c3c99cfeaf94 @@ -6067,8 +6067,8 @@ trackedFiles: pristine_git_object: 6399aa671d4992bd07335992d4c15d5efd3d7db9 docs/models/textqlrpcpublicconnectorexamplequery.md: id: 7115687480d4 - last_write_checksum: sha1:56b3acc63fcd9c71cd39ab4e312d3185e7e0f492 - pristine_git_object: db063d9b8900d96c9fcb16a7247fd42bd3504af9 + last_write_checksum: sha1:3606cbbe4ecb8697d05be0cd566aba6a9ed7dbe9 + pristine_git_object: c6c68cdf77c4b9f36ea20ec13ffd6c0660edeb89 docs/models/textqlrpcpublicconnectorexasolmetadata.md: id: 63c7b67578eb last_write_checksum: sha1:c06a1e8eb8b81ed514e0861eed086d147b0b959a @@ -6131,12 +6131,12 @@ trackedFiles: pristine_git_object: 6e2cdb52baaaec344612d9be237de7ae83a50e8f docs/models/textqlrpcpublicconnectorgetconnectorstatsrequest.md: id: ab38d07d790c - last_write_checksum: sha1:fd1a87016b73c2d90fd74e4a2ea0f4e1c8858011 - pristine_git_object: 1aafec7093bfcdcf4376b399993d90f5a8176b38 + last_write_checksum: sha1:ca352c4ae23db93f92c8fe7f205a9f3b6f81f9f3 + pristine_git_object: c363986734df03c76c662e4f166216023b3bbcf5 docs/models/textqlrpcpublicconnectorgetconnectorstatsresponse.md: id: ec4f3c4ee0cc - last_write_checksum: sha1:02015ed3d6879022489b74a8d6854341b24f8fb7 - pristine_git_object: 530d1d46d696a0e6f26d91aaac100e361b794482 + last_write_checksum: sha1:7a33f4f7b7b22dc24a37fe74d3b7c69eb570a5cb + pristine_git_object: a18fc22b595568076965bfe8a66e1ec4feba2118 docs/models/textqlrpcpublicconnectorgetconnectorusagerequest.md: id: f639264c3634 last_write_checksum: sha1:1e497e289900503095bfbe092fae493412a335f5 @@ -6151,8 +6151,8 @@ trackedFiles: pristine_git_object: f9086cd783408586cf5e65d7aecb21c353b641d3 docs/models/textqlrpcpublicconnectorgetexamplequeriesresponse.md: id: 5c5f0660ff55 - last_write_checksum: sha1:da837d96640f0c26a39c86a916ab85b1729bd6e4 - pristine_git_object: a054da6d9c6d42e0263b99c673f0fd8a4478df76 + last_write_checksum: sha1:7fc0f278c749f9ec61a71901a95ffa0c0dcd94cf + pristine_git_object: 52293fd7d441ac2ab33f52ee0d9afc5abcf9c227 docs/models/textqlrpcpublicconnectorgettablepreviewrequest.md: id: 908d597d00a4 last_write_checksum: sha1:9c761f5cd40a9af2011b6dff82331f93bb5c94f4 @@ -6183,20 +6183,20 @@ trackedFiles: pristine_git_object: 332bfeb70d81174c7ba9b97cb994193dcccc76ef docs/models/textqlrpcpublicconnectorlistconnectortablesrequest.md: id: 2cc4805f7dab - last_write_checksum: sha1:8a21dfe7313f984466030e89097091d96ee0f932 - pristine_git_object: b8944e17f80250b859ffd89b30d913154ba04c29 + last_write_checksum: sha1:437ba4a263afd78064e14a24ccce744a931bc3be + pristine_git_object: 7724419026ecdf5b5265cde5520efcf41ed5d039 docs/models/textqlrpcpublicconnectorlistconnectortablesresponse.md: id: 34ac7136e459 last_write_checksum: sha1:f0ba965cc0d76c08c554f9153c2b8ace2763a68f pristine_git_object: a6dc948a26f18dea256f7ab3af61bc3f7465e895 docs/models/textqlrpcpublicconnectorlistquerytemplatesrequest.md: id: f7825c18cff1 - last_write_checksum: sha1:1a64177c86bbcb4e0c9bb5aeabcda82be1341116 - pristine_git_object: 99148a5f75d71297e937f711ac2d79d882845dc4 + last_write_checksum: sha1:8bfa2fa81450b2517d9fa7ab3bc65f14caf1494c + pristine_git_object: 1331402d13f3ded03edc64a2711afe1c40a3314e docs/models/textqlrpcpublicconnectorlistquerytemplatesresponse.md: id: f5aa065b571b - last_write_checksum: sha1:ab64d8e40b1bf19224610fcb11a3d8803110c069 - pristine_git_object: 7108fac82289abb7cf3bb0f1b2df87744c427072 + last_write_checksum: sha1:0cdc2f3fb01539aa8eb1bb82dd867d0a905e7f87 + pristine_git_object: e6c8502037374c32f17dcd925bf99ccf5474a478 docs/models/textqlrpcpublicconnectormessagesegment.md: id: 95254d46fdc0 last_write_checksum: sha1:00e688e5f273955715cfbd919efff1396671a5d3 @@ -6227,16 +6227,16 @@ trackedFiles: pristine_git_object: fcc9deb47f6a66c083ff7efa4606c26204606f5d docs/models/textqlrpcpublicconnectorpowerbiconnectorcontext.md: id: 92216551f884 - last_write_checksum: sha1:303a037fc137c6759ab051ec64e78546e0139597 - pristine_git_object: 908740508c618d462983a8f8bd7d1d023d91c901 + last_write_checksum: sha1:54d1caf3e656da5b0bc5e2807a6975ed4d918b54 + pristine_git_object: 43883a8b86051f88ca93e4176436b1ffb8d16d6e docs/models/textqlrpcpublicconnectorpowerbimetadata.md: id: b598c3948b06 last_write_checksum: sha1:6496e3ce23b578ba5ef40462a88fc08d92a80c2c pristine_git_object: 95e59c10fbba94e8da46a505dcdcccda89dcdf03 docs/models/textqlrpcpublicconnectorprimarykeymetadata.md: id: 6ef6dd7e6e3a - last_write_checksum: sha1:e8f76b197ee559b890406408aae54c93c277c415 - pristine_git_object: ad5aa736654c6a2f13b06e35fe01b5bd33bfe623 + last_write_checksum: sha1:fdd428a6bec9fce11cb2fc50f350aa3e5a589b27 + pristine_git_object: 7230641700068f72a801d3424181628d825f69d1 docs/models/textqlrpcpublicconnectorqueryjoininfo.md: id: 574762e5a72a last_write_checksum: sha1:48d1a48a6aba8c6a32505f455029b2c50707ad7b @@ -6251,16 +6251,16 @@ trackedFiles: pristine_git_object: 27c11fe502488dc544002aa1f9a25827ae41e6b2 docs/models/textqlrpcpublicconnectorquerytemplate.md: id: 6eb8950e1655 - last_write_checksum: sha1:645251e1fdc769388bac02db1b158b8c55634a8a - pristine_git_object: 6d0c6e25d7c539347de00c6fc002da587f650de4 + last_write_checksum: sha1:e15a89b811a58f38f6a84674cd7692ea1c1f6ad7 + pristine_git_object: 084d99f88dcc7ff3344eed3477737dde4c00973e docs/models/textqlrpcpublicconnectorquerytemplatecteref.md: id: 9edd32078300 - last_write_checksum: sha1:13f33c3219c7c6839bf66c553144f311a319ae3e - pristine_git_object: f95ae3b0c88ef1871d50b77fb2c0170476e324b0 + last_write_checksum: sha1:aff06a8001d67a95494da778d98637eaf46cf9d9 + pristine_git_object: 729b80d268dcb5911d101da5a9745f009ce926b0 docs/models/textqlrpcpublicconnectorredshiftmetadata.md: id: ca8fd18a54c5 - last_write_checksum: sha1:e2f024256cd9357c877ba7aef3ccdd95471914e6 - pristine_git_object: bd75990d6f3d5652bb9fd3425d9eb496729aef88 + last_write_checksum: sha1:6e839e1d9b9ae3e859681febff6edf299e2e2314 + pristine_git_object: d6de7f97da809ab4d27d57c9c87171cdede96994 docs/models/textqlrpcpublicconnectorsaphanametadata.md: id: 807d75aa4f0d last_write_checksum: sha1:54fb1b6c2001f394161527357546cc319ad24cb5 @@ -9759,8 +9759,8 @@ trackedFiles: pristine_git_object: 2fcd2e204771b020bef4fc178aa02bc15a047320 docs/sdks/connectors/README.md: id: 7633a87d946d - last_write_checksum: sha1:2eb22c459331ceb6f38d98ade2cec014787668d1 - pristine_git_object: 8598a4bc372fa2d6bc0cf738f1688c6a7dc86c3b + last_write_checksum: sha1:81585e6565673747378b73bee283c606a223e496 + pristine_git_object: 00ee116c8b13239b1a49950874388dbf7dfbb05b docs/sdks/dashboards/README.md: id: a1b02ccb9b96 last_write_checksum: sha1:23b42e9568e86cc866eb8529f6282cdb9a302a03 @@ -9843,8 +9843,8 @@ trackedFiles: pristine_git_object: d45dd3dfed8f57c8dde47774f645a4eb9575ba90 pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:8407e1b28355161b99d0b06e64098f38f1b65cc6 - pristine_git_object: de24baf6fe2e7f8e9353136b713687979049bbf2 + last_write_checksum: sha1:95e85299e7525b2d8157516c3c855a09e73fcc02 + pristine_git_object: 21917fc352cf299d34671baaaf93f7ae523bacd7 scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:d5a0f1ce09f7b890340fdb6f26345fce7dc9a70d @@ -9871,8 +9871,8 @@ trackedFiles: pristine_git_object: a9e63d694ae036ae9a43efc262dd124a2e1062e7 src/textql_sdk/_version.py: id: "226928447e58" - last_write_checksum: sha1:d6ddb3a7054983825d11be3b6fac346cc6c6feef - pristine_git_object: 4eef6b293300949775ea4d5fda8066f8caf6a5a4 + last_write_checksum: sha1:20b5d13eeb426abc8bfb999fe11a8a5406ddb499 + pristine_git_object: cf290a00be9be39d1be513e10f580979cec68d4c src/textql_sdk/agents.py: id: 4ff492529583 last_write_checksum: sha1:865c3c9444ec0da3e0805e7079a5004099ac0dc8 @@ -9895,8 +9895,8 @@ trackedFiles: pristine_git_object: ab7b724f7baff235c35604a1dc73e709b9247cad src/textql_sdk/connectors.py: id: 44f63753a16d - last_write_checksum: sha1:4777bb7df4f7493c421614cdc7523b266813f164 - pristine_git_object: cbe042cf8acde4657439146bba357129009fcd42 + last_write_checksum: sha1:a322bf767a23e727ce54c7e3b07b406279e8b108 + pristine_git_object: c046cb6c41112cc45df6434f900ee9bf7e54d1ef src/textql_sdk/dashboards.py: id: fe758a7e1b5e last_write_checksum: sha1:e9626a6ea77f3a9753bf5c358dfb115b82b8c090 @@ -12127,8 +12127,8 @@ trackedFiles: pristine_git_object: 32853106dcbe78fa7dbe57ee5546bbfcf6fac387 src/textql_sdk/models/textql_rpc_public_cells_appinfo.py: id: 0ec6d6eb65f9 - last_write_checksum: sha1:0d1cb7890b5063afe6ec339e8ccc5465440b5e07 - pristine_git_object: be5a7cc36137cd8c5adeee50b7304ea9f2ad0023 + last_write_checksum: sha1:9e1ccd311e9ede2deb2e71fe431510913587c357 + pristine_git_object: 0c2654fa3290cd23c149a4f7d14808af964dbbcd src/textql_sdk/models/textql_rpc_public_cells_bashcell.py: id: 788e4bca88b5 last_write_checksum: sha1:d6714b18d5b4866476cdbc953648d52afe0ce5d2 @@ -13091,8 +13091,8 @@ trackedFiles: pristine_git_object: 6d9f34aa25f1d5ad6af26683d38afd14b763c6ca src/textql_sdk/models/textql_rpc_public_connector_connectorstatentry.py: id: ca98353af6a9 - last_write_checksum: sha1:f38482c4a13cdd374a513a76ab55fd79e7c3a159 - pristine_git_object: 9655de0f76f0407600fc6dbe3346109b56cb50d2 + last_write_checksum: sha1:75b2b114c5b5ffa371ae19b779f605f7c3df2729 + pristine_git_object: ab9cf4b86477d485450112fdaaeb178be538e315 src/textql_sdk/models/textql_rpc_public_connector_connectortable.py: id: 3a5a7c8620a3 last_write_checksum: sha1:0665a8fd2d40297e631f559426c8538f0038a1e6 @@ -13159,8 +13159,8 @@ trackedFiles: pristine_git_object: b54cd515becaa69f0046452cfc62fcf8995ff845 src/textql_sdk/models/textql_rpc_public_connector_examplequery.py: id: 2b303fb55d4d - last_write_checksum: sha1:7aa28fd49b1cd1ac3d1897b09c0ff62322708562 - pristine_git_object: fe0e46bad52b820afb7d606277b4f01c3bfd2ea2 + last_write_checksum: sha1:e19839e00532a761060f4ed47c935ad2d57e00d0 + pristine_git_object: 1b230e17e2fc2ffda7dc8f39a9eaea3f24ee76d8 src/textql_sdk/models/textql_rpc_public_connector_exasolmetadata.py: id: 0001706a10cb last_write_checksum: sha1:5afddd33fa0f28fbff891fea100715715106b034 @@ -13223,12 +13223,12 @@ trackedFiles: pristine_git_object: b0aab1c92e3aff43f0d8e3b2145d137967c742b1 src/textql_sdk/models/textql_rpc_public_connector_getconnectorstatsrequest.py: id: 50159d81a927 - last_write_checksum: sha1:ccf8ab796ee2fdf1136ea62b1b416ac35c60a45a - pristine_git_object: 1a5b1da4c73e01eb9b2f3caa46703985d48a3e5f + last_write_checksum: sha1:21b35d3312efda27fc07f901172d8661833333b7 + pristine_git_object: b83979abd0bbda5af22096b615949854dc40c48b src/textql_sdk/models/textql_rpc_public_connector_getconnectorstatsresponse.py: id: b83913c4d6b0 - last_write_checksum: sha1:5868f3c4766c8292baa4a22ce0b7d77df64f02eb - pristine_git_object: 38c93479d5732ca4c65795a2e8b055caa4c45f38 + last_write_checksum: sha1:4106e2ba30feb013be1184a75611397506380300 + pristine_git_object: fc3ee93f112efb6366a3e5f91cc638e5d90e0c85 src/textql_sdk/models/textql_rpc_public_connector_getconnectorusagerequest.py: id: 634c1ac5b937 last_write_checksum: sha1:2705ae45fd1d841ad6f7153056a6d10e199c620d @@ -13243,8 +13243,8 @@ trackedFiles: pristine_git_object: ef8dca3074618c80a88b931e9218488d7e9ee5c0 src/textql_sdk/models/textql_rpc_public_connector_getexamplequeriesresponse.py: id: 4215a66e3bbc - last_write_checksum: sha1:947e55d4f956556ca1e7ef622f923a3aab992599 - pristine_git_object: 489b8d69b48b1400d6792381e930d45b8000dad0 + last_write_checksum: sha1:0cf3d369631a43ad354ea0dac70f9de76dbe81b5 + pristine_git_object: 977d9fd08d3be3a4133606341bfe6f0a78b62795 src/textql_sdk/models/textql_rpc_public_connector_gettablepreviewrequest.py: id: 5ad810c0d845 last_write_checksum: sha1:d897c569e0a467ddc2e7ceeeb17ef2d32151c4e4 @@ -13275,20 +13275,20 @@ trackedFiles: pristine_git_object: 1c412d73470260c855620717faecadab24c119bb src/textql_sdk/models/textql_rpc_public_connector_listconnectortablesrequest.py: id: 86302c849436 - last_write_checksum: sha1:6326587d04959abfc48bda692926b0e50de467c0 - pristine_git_object: 3c70c91920859d10348ce1c2ab2ccfc9a5141709 + last_write_checksum: sha1:5fc43e4cf78648e4b2b604c2185a7d2a8e9d63f1 + pristine_git_object: ce88e19753f95aa2f31f28fe294a315b20b728e9 src/textql_sdk/models/textql_rpc_public_connector_listconnectortablesresponse.py: id: c36a81cce47e last_write_checksum: sha1:b9f8bfd8f094f71d58d61395ec6f30481ff6107a pristine_git_object: 262d268429b340517c67b370efb5913fda6c473d src/textql_sdk/models/textql_rpc_public_connector_listquerytemplatesrequest.py: id: 3f36bb44cbd3 - last_write_checksum: sha1:6d763f8109c4b1226f8b10ca75dde7c3d4d6bb17 - pristine_git_object: 9fcb1590005910f0ab0c699db7f98503369ecf74 + last_write_checksum: sha1:9ba98abce70ed89d955ae69722ff797a0077d9b0 + pristine_git_object: 6a774be430cdb09d0fb4f73567ee4eab61d7f32b src/textql_sdk/models/textql_rpc_public_connector_listquerytemplatesresponse.py: id: ecdea913ba8c - last_write_checksum: sha1:1e900dfe45693420c78b6a933a2d906e5b57b96b - pristine_git_object: ee08ed8f9e26c3f665e0d5a7ef93f289d8736652 + last_write_checksum: sha1:82d96a37da3d652cde4d4bd37794257bd1649003 + pristine_git_object: ee056f716dd58e61e68928a55fb5b0209f929986 src/textql_sdk/models/textql_rpc_public_connector_messagesegment.py: id: 88c1f7b1819a last_write_checksum: sha1:d6a2a6651a896cf72582b82375e75354636e2ca2 @@ -13319,16 +13319,16 @@ trackedFiles: pristine_git_object: 10665047fded302b9c612c66559888974902200b src/textql_sdk/models/textql_rpc_public_connector_powerbiconnectorcontext.py: id: 4bab6d0c1a7b - last_write_checksum: sha1:199f2a7eb5cc58a1655ef6b7fef61db7d10f46d9 - pristine_git_object: a7c6d11a1328f1d204ba5487a2922da3ce03dbae + last_write_checksum: sha1:b3426f53642e9e9249be0f8e4e47a0878b4da21d + pristine_git_object: 26e3c558c7256432c0213b792e6d8dc5adb83ee2 src/textql_sdk/models/textql_rpc_public_connector_powerbimetadata.py: id: 4710cae48468 last_write_checksum: sha1:1f02880af5408844beab98e6d7bca7442e3b2339 pristine_git_object: 3852b7215640456e8e48bedd37ae7826b53b2ea8 src/textql_sdk/models/textql_rpc_public_connector_primarykeymetadata.py: id: d8fa1310b4f5 - last_write_checksum: sha1:8975e4fd2dd4d32be5adbca8905a645566099903 - pristine_git_object: 09e0162125b0ffc71294d092dbbf4b198e2f6f2d + last_write_checksum: sha1:d758bbf7117d77c449f5c7d530359ed9456f3eb9 + pristine_git_object: d1a3a57a5dcc90f43e88aec11f7c8707c6d31a70 src/textql_sdk/models/textql_rpc_public_connector_queryjoininfo.py: id: bc177d18c34c last_write_checksum: sha1:c7352dc6295ccb84260991c3df8c528e67a79a99 @@ -13339,16 +13339,16 @@ trackedFiles: pristine_git_object: e4eac8574908373b528dc48eee476fcaab46c22d src/textql_sdk/models/textql_rpc_public_connector_querytemplate.py: id: e8459b601e9e - last_write_checksum: sha1:4d2c6244f778c4f0dd3dc81de6dba85ba4eb78f7 - pristine_git_object: 8c07edbacc55222973abef82a3a98bec474c3a2f + last_write_checksum: sha1:e8b84da62fa044707be2af910a9e97631d5e945a + pristine_git_object: 3e865e001a7b9409d8345d7326e5d58b00b9a5b2 src/textql_sdk/models/textql_rpc_public_connector_querytemplatecteref.py: id: bf5cfa2f2362 - last_write_checksum: sha1:4ef95a4ca5dc3ff622f7b91f8c24dc36ae0a6e8d - pristine_git_object: e539ec4024dc3231cc21c9fced3de3345e1ae3ff + last_write_checksum: sha1:a5103a2d5c2f5c1a4d021ca8900ff1090fc12143 + pristine_git_object: 7ecbee21af2f7ec3d3e7ce09393c86f02626fe17 src/textql_sdk/models/textql_rpc_public_connector_redshiftmetadata.py: id: a93390961341 - last_write_checksum: sha1:2f796998c118586b109d4e11eb4dacc128b7529c - pristine_git_object: 99a5e04a6e1bdb39389b98aea5fec07b06506151 + last_write_checksum: sha1:a780bd49e9d1ec2406701d4ebb583d3f89aab12b + pristine_git_object: cb48cf88b2a2e666fd135cadc2d67cc756163e6e src/textql_sdk/models/textql_rpc_public_connector_saphanametadata.py: id: 4166d6931859 last_write_checksum: sha1:3fecb3162c2123db2fd7fd1bbb6ec56a6d23dde3 @@ -27707,4 +27707,15 @@ examples: default: application/json: {"code": "not_found"} examplesVersion: 1.0.2 -releaseNotes: "## Python SDK Changes:\n* `textql.ontology.get_skill()`: **Added**\n* `textql.chats.attach_app()`: `response.cell.union(compaction_cell).compaction_cell.python_cells[]` **Changed**\n* `textql.chats.attach_dashboard()`: `response.cell.union(py_cell).py_cell` **Changed**\n* `textql.chats.attach_dataset()`: `response.cell.union(javascript_cell).javascript_cell` **Changed**\n* `textql.chats.check_streamlit_health()`: `response.cell` **Changed**\n* `textql.chats.get_history()`: `response.cells[].union(compaction_cell).compaction_cell.python_cells[]` **Changed**\n* `textql.chats.poll_events()`: `response.events[].union(cell).cell.union(py_cell).py_cell` **Changed**\n* `textql.chats.query_one_shot()`: `response.cells[]` **Changed**\n* `textql.chats.run()`: `response.cells[].union(py_cell).py_cell` **Changed**\n* `textql.observability.get_check_record_fix()`: `response.fix_patch_cell.union(compaction_cell).compaction_cell.python_cells[]` **Changed**\n* `textql.observability.get_thread_warnings()`: `response.warnings_by_chat.Map.warnings[].fix_patch_cell.union(compaction_cell).compaction_cell.python_cells[]` **Changed**\n* `textql.settings.get()`: `response.organization` **Changed**\n* `textql.settings.update_models()`: `response.organization` **Changed**\n* `textql.settings.update()`: \n * `request` **Changed**\n * `response.organization` **Changed**\n" +releaseNotes: | + ## Python SDK Changes: + * `textql.chats.attach_app()`: `response.cell.union(list_apps_cell).list_apps_cell.apps[]` **Changed** + * `textql.chats.attach_dashboard()`: `response.cell.union(list_apps_cell).list_apps_cell.apps[]` **Changed** + * `textql.chats.attach_dataset()`: `response.cell.union(list_apps_cell).list_apps_cell.apps[]` **Changed** + * `textql.chats.check_streamlit_health()`: `response.cell.union(list_apps_cell).list_apps_cell.apps[]` **Changed** + * `textql.chats.get_history()`: `response.cells[].union(list_apps_cell).list_apps_cell.apps[]` **Changed** + * `textql.chats.poll_events()`: `response.events[].union(cell).cell.union(list_apps_cell).list_apps_cell.apps[]` **Changed** + * `textql.chats.query_one_shot()`: `response.cells[].union(list_apps_cell).list_apps_cell.apps[]` **Changed** + * `textql.chats.run()`: `response.cells[].union(list_apps_cell).list_apps_cell.apps[]` **Changed** + * `textql.observability.get_check_record_fix()`: `response.fix_patch_cell.union(list_apps_cell).list_apps_cell.apps[]` **Changed** + * `textql.observability.get_thread_warnings()`: `response.warnings_by_chat.Map.warnings[].fix_patch_cell.union(list_apps_cell).list_apps_cell.apps[]` **Changed** diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 2cfeca4c..145dbd06 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -34,7 +34,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: false python: - version: 1.1.18 + version: 1.1.19 additionalDependencies: dev: types-protobuf: '>=6.31' diff --git a/.speakeasy/out.openapi.yaml b/.speakeasy/out.openapi.yaml index 4d5274bb..9987ee96 100644 --- a/.speakeasy/out.openapi.yaml +++ b/.speakeasy/out.openapi.yaml @@ -19017,6 +19017,7 @@ components: status: type: string title: status + deprecated: true creatorId: type: string title: creator_id @@ -19033,7 +19034,15 @@ components: publishedAt: title: published_at nullable: true + deprecated: true $ref: '#/components/schemas/google.protobuf.Timestamp' + scheduleEnabled: + type: boolean + title: schedule_enabled + cronString: + type: string + title: cron_string + nullable: true title: AppInfo additionalProperties: false textql.rpc.public.cells.BashCell: @@ -25297,14 +25306,13 @@ components: type: integer title: connector_id format: int32 - description: The text content of this segment + description: dataset IDs for selected Tableau collections queryCount: type: - integer - string title: query_count format: int64 - description: If set, this is a feature word to be styled errorRate: type: number title: error_rate @@ -25328,7 +25336,6 @@ components: format: int32 title: ConnectorStatEntry additionalProperties: false - description: A segment of an example query message - either plain text or a styled feature word textql.rpc.public.connector.ConnectorTable: type: object properties: @@ -25606,10 +25613,10 @@ components: id: type: string title: id - description: dataset IDs for selected Tableau collections label: type: string title: label + description: If set, only return queries with this feature type message: type: string title: message @@ -25846,6 +25853,7 @@ components: type: integer title: days format: int32 + description: PowerBI report IDs title: GetConnectorStatsRequest additionalProperties: false textql.rpc.public.connector.GetConnectorStatsResponse: @@ -25856,8 +25864,10 @@ components: items: $ref: '#/components/schemas/textql.rpc.public.connector.ConnectorStatEntry' title: stats + description: The text content of this segment title: GetConnectorStatsResponse additionalProperties: false + description: A segment of an example query message - either plain text or a styled feature word textql.rpc.public.connector.GetConnectorUsageRequest: type: object properties: @@ -25933,7 +25943,6 @@ components: items: $ref: '#/components/schemas/textql.rpc.public.connector.ExampleQuery' title: examples - description: PowerBI report IDs title: GetExampleQueriesResponse additionalProperties: false textql.rpc.public.connector.GetTablePreviewRequest: @@ -26098,7 +26107,6 @@ components: type: integer title: connector_id format: int32 - description: Apache Arrow IPC format binary data title: ListConnectorTablesRequest additionalProperties: false textql.rpc.public.connector.ListConnectorTablesResponse: @@ -26125,16 +26133,17 @@ components: type: integer title: limit format: int32 + description: Display name (e.g., "Explore Data") offset: type: integer title: offset format: int32 - description: 0.0-1.0 + description: Query text to send (plain text, no formatting) days: type: integer title: days format: int32 - description: milliseconds + description: True if requires multiple connectors title: ListQueryTemplatesRequest additionalProperties: false textql.rpc.public.connector.ListQueryTemplatesResponse: @@ -26145,7 +26154,6 @@ components: items: $ref: '#/components/schemas/textql.rpc.public.connector.QueryTemplate' title: templates - description: 0 = all-time totalCount: type: integer title: total_count @@ -26381,7 +26389,6 @@ components: items: type: string title: dataset_ids - description: If set, only return queries with this feature type collectionIds: type: array items: @@ -26424,6 +26431,10 @@ components: items: type: string title: descriptions + description: |- + Optional: If provided, confidential fields will be preserved from the existing connector + when the corresponding field in config is empty. This allows testing updates without + requiring the user to re-enter credentials. title: PrimaryKeyMetadata additionalProperties: false textql.rpc.public.connector.QueryJoinInfo: @@ -26468,11 +26479,13 @@ components: items: type: string title: tables + description: 0.0-1.0 joins: type: array items: $ref: '#/components/schemas/textql.rpc.public.connector.QueryJoinInfo' title: joins + description: milliseconds eventCount: type: - integer @@ -26502,6 +26515,7 @@ components: templateId: type: string title: template_id + description: 0 = all-time cteName: type: string title: cte_name @@ -26531,6 +26545,10 @@ components: items: type: string title: schemas + description: |- + Set on responses: secret_id, role_arn and external_id have been blanked. + Echo the ref back with all three still blank on update to keep the stored + ones; setting any of them replaces the location and requires secret_id. dialect: type: string title: dialect diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index dff5f77c..f7adf698 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,8 +2,8 @@ speakeasyVersion: 1.796.4 sources: TextQL API: sourceNamespace: textql-api - sourceRevisionDigest: sha256:d6d2844c84152f4526896e02ac6e992c395e3b4def251beefec6fc30890bd766 - sourceBlobDigest: sha256:d86547cfdbf5e7fdd270c7231194c61be7d4a62259e0ee89f54fb39cdcc5c3e7 + sourceRevisionDigest: sha256:8981db2b6a61f4be320ce970f9516622bb31defd99288dc642c15f4bae08cdd5 + sourceBlobDigest: sha256:74794929b99d0fb66f9441089d0ee6e4dddb8ee33d3a3b4471b929dcd19e133b tags: - latest - 1.0.0 @@ -11,10 +11,10 @@ targets: textql: source: TextQL API sourceNamespace: textql-api - sourceRevisionDigest: sha256:d6d2844c84152f4526896e02ac6e992c395e3b4def251beefec6fc30890bd766 - sourceBlobDigest: sha256:d86547cfdbf5e7fdd270c7231194c61be7d4a62259e0ee89f54fb39cdcc5c3e7 + sourceRevisionDigest: sha256:8981db2b6a61f4be320ce970f9516622bb31defd99288dc642c15f4bae08cdd5 + sourceBlobDigest: sha256:74794929b99d0fb66f9441089d0ee6e4dddb8ee33d3a3b4471b929dcd19e133b codeSamplesNamespace: textql-api-python-code-samples - codeSamplesRevisionDigest: sha256:7a4245def73eb3a1ac4fca4ed6eb2348a5ec3e85ff15a1056e4940ffec8bb395 + codeSamplesRevisionDigest: sha256:214310e5639fc38c08625d988ecf6c74352b57dc13d0bf2989392eb0561842da workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index dc5c2e2b..4cf5df93 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -418,4 +418,14 @@ Based on: ### Generated - [python v1.1.18] . ### Releases -- [PyPI v1.1.18] https://pypi.org/project/textql-sdk/1.1.18 - . \ No newline at end of file +- [PyPI v1.1.18] https://pypi.org/project/textql-sdk/1.1.18 - . + +## 2026-09-04 16:31:49 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.796.4 (2.935.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.1.19] . +### Releases +- [PyPI v1.1.19] https://pypi.org/project/textql-sdk/1.1.19 - . \ No newline at end of file diff --git a/docs/models/textqlrpcpubliccellsappinfo.md b/docs/models/textqlrpcpubliccellsappinfo.md index 96236362..e2a66cc1 100644 --- a/docs/models/textqlrpcpubliccellsappinfo.md +++ b/docs/models/textqlrpcpubliccellsappinfo.md @@ -8,9 +8,11 @@ | `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `status` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| ~~`status`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | | | `creator_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | | `refreshed_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `published_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | \ No newline at end of file +| `published_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | +| `schedule_enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | | +| `cron_string` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicconnectorconnectorstatentry.md b/docs/models/textqlrpcpublicconnectorconnectorstatentry.md index e5b0321f..8478cadb 100644 --- a/docs/models/textqlrpcpublicconnectorconnectorstatentry.md +++ b/docs/models/textqlrpcpublicconnectorconnectorstatentry.md @@ -1,14 +1,12 @@ # TextqlRPCPublicConnectorConnectorStatEntry -A segment of an example query message - either plain text or a styled feature word - ## Fields | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connector_id` | *Optional[int]* | :heavy_minus_sign: | The text content of this segment | | -| `query_count` | [Optional[models.TextqlRPCPublicConnectorConnectorStatEntryQueryCount]](../models/textqlrpcpublicconnectorconnectorstatentryquerycount.md) | :heavy_minus_sign: | If set, this is a feature word to be styled | | +| `connector_id` | *Optional[int]* | :heavy_minus_sign: | dataset IDs for selected Tableau collections | | +| `query_count` | [Optional[models.TextqlRPCPublicConnectorConnectorStatEntryQueryCount]](../models/textqlrpcpublicconnectorconnectorstatentryquerycount.md) | :heavy_minus_sign: | N/A | | | `error_rate` | *Optional[float]* | :heavy_minus_sign: | N/A | | | `avg_query_time_ms` | [Optional[models.AvgQueryTimeMs]](../models/avgquerytimems.md) | :heavy_minus_sign: | N/A | | | `unique_users` | *Optional[int]* | :heavy_minus_sign: | N/A | | diff --git a/docs/models/textqlrpcpublicconnectorconnectorstatentryquerycount.md b/docs/models/textqlrpcpublicconnectorconnectorstatentryquerycount.md index d96b94e5..faa45a1e 100644 --- a/docs/models/textqlrpcpublicconnectorconnectorstatentryquerycount.md +++ b/docs/models/textqlrpcpublicconnectorconnectorstatentryquerycount.md @@ -1,7 +1,5 @@ # TextqlRPCPublicConnectorConnectorStatEntryQueryCount -If set, this is a feature word to be styled - ## Supported Types diff --git a/docs/models/textqlrpcpublicconnectorexamplequery.md b/docs/models/textqlrpcpublicconnectorexamplequery.md index db063d9b..c6c68cdf 100644 --- a/docs/models/textqlrpcpublicconnectorexamplequery.md +++ b/docs/models/textqlrpcpublicconnectorexamplequery.md @@ -5,8 +5,8 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `id` | *Optional[str]* | :heavy_minus_sign: | dataset IDs for selected Tableau collections | -| `label` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `label` | *Optional[str]* | :heavy_minus_sign: | If set, only return queries with this feature type | | `message` | *Optional[str]* | :heavy_minus_sign: | N/A | | `is_multi_source` | *Optional[bool]* | :heavy_minus_sign: | N/A | | `required_connector_ids` | List[*int*] | :heavy_minus_sign: | N/A | diff --git a/docs/models/textqlrpcpublicconnectorgetconnectorstatsrequest.md b/docs/models/textqlrpcpublicconnectorgetconnectorstatsrequest.md index 1aafec70..c3639867 100644 --- a/docs/models/textqlrpcpublicconnectorgetconnectorstatsrequest.md +++ b/docs/models/textqlrpcpublicconnectorgetconnectorstatsrequest.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `days` | *Optional[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `days` | *Optional[int]* | :heavy_minus_sign: | PowerBI report IDs | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicconnectorgetconnectorstatsresponse.md b/docs/models/textqlrpcpublicconnectorgetconnectorstatsresponse.md index 530d1d46..a18fc22b 100644 --- a/docs/models/textqlrpcpublicconnectorgetconnectorstatsresponse.md +++ b/docs/models/textqlrpcpublicconnectorgetconnectorstatsresponse.md @@ -1,8 +1,10 @@ # TextqlRPCPublicConnectorGetConnectorStatsResponse +A segment of an example query message - either plain text or a styled feature word + ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `stats` | List[[models.TextqlRPCPublicConnectorConnectorStatEntry](../models/textqlrpcpublicconnectorconnectorstatentry.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `stats` | List[[models.TextqlRPCPublicConnectorConnectorStatEntry](../models/textqlrpcpublicconnectorconnectorstatentry.md)] | :heavy_minus_sign: | The text content of this segment | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicconnectorgetexamplequeriesresponse.md b/docs/models/textqlrpcpublicconnectorgetexamplequeriesresponse.md index a054da6d..52293fd7 100644 --- a/docs/models/textqlrpcpublicconnectorgetexamplequeriesresponse.md +++ b/docs/models/textqlrpcpublicconnectorgetexamplequeriesresponse.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `examples` | List[[models.TextqlRPCPublicConnectorExampleQuery](../models/textqlrpcpublicconnectorexamplequery.md)] | :heavy_minus_sign: | PowerBI report IDs | \ No newline at end of file +| `examples` | List[[models.TextqlRPCPublicConnectorExampleQuery](../models/textqlrpcpublicconnectorexamplequery.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicconnectorlistconnectortablesrequest.md b/docs/models/textqlrpcpublicconnectorlistconnectortablesrequest.md index b8944e17..77244190 100644 --- a/docs/models/textqlrpcpublicconnectorlistconnectortablesrequest.md +++ b/docs/models/textqlrpcpublicconnectorlistconnectortablesrequest.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | -| `connector_id` | *Optional[int]* | :heavy_minus_sign: | Apache Arrow IPC format binary data | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `connector_id` | *Optional[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicconnectorlistquerytemplatesrequest.md b/docs/models/textqlrpcpublicconnectorlistquerytemplatesrequest.md index 99148a5f..1331402d 100644 --- a/docs/models/textqlrpcpublicconnectorlistquerytemplatesrequest.md +++ b/docs/models/textqlrpcpublicconnectorlistquerytemplatesrequest.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `connector_id` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `limit` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `offset` | *Optional[int]* | :heavy_minus_sign: | 0.0-1.0 | -| `days` | *Optional[int]* | :heavy_minus_sign: | milliseconds | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `connector_id` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `limit` | *Optional[int]* | :heavy_minus_sign: | Display name (e.g., "Explore Data") | +| `offset` | *Optional[int]* | :heavy_minus_sign: | Query text to send (plain text, no formatting) | +| `days` | *Optional[int]* | :heavy_minus_sign: | True if requires multiple connectors | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicconnectorlistquerytemplatesresponse.md b/docs/models/textqlrpcpublicconnectorlistquerytemplatesresponse.md index 7108fac8..e6c85020 100644 --- a/docs/models/textqlrpcpublicconnectorlistquerytemplatesresponse.md +++ b/docs/models/textqlrpcpublicconnectorlistquerytemplatesresponse.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `templates` | List[[models.TextqlRPCPublicConnectorQueryTemplate](../models/textqlrpcpublicconnectorquerytemplate.md)] | :heavy_minus_sign: | 0 = all-time | +| `templates` | List[[models.TextqlRPCPublicConnectorQueryTemplate](../models/textqlrpcpublicconnectorquerytemplate.md)] | :heavy_minus_sign: | N/A | | `total_count` | *Optional[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicconnectorpowerbiconnectorcontext.md b/docs/models/textqlrpcpublicconnectorpowerbiconnectorcontext.md index 90874050..43883a8b 100644 --- a/docs/models/textqlrpcpublicconnectorpowerbiconnectorcontext.md +++ b/docs/models/textqlrpcpublicconnectorpowerbiconnectorcontext.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `report_ids` | List[*str*] | :heavy_minus_sign: | N/A | -| `dataset_ids` | List[*str*] | :heavy_minus_sign: | If set, only return queries with this feature type | -| `collection_ids` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `report_ids` | List[*str*] | :heavy_minus_sign: | N/A | +| `dataset_ids` | List[*str*] | :heavy_minus_sign: | N/A | +| `collection_ids` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicconnectorprimarykeymetadata.md b/docs/models/textqlrpcpublicconnectorprimarykeymetadata.md index ad5aa736..72306417 100644 --- a/docs/models/textqlrpcpublicconnectorprimarykeymetadata.md +++ b/docs/models/textqlrpcpublicconnectorprimarykeymetadata.md @@ -3,7 +3,7 @@ ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `columns` | List[*str*] | :heavy_minus_sign: | N/A | -| `descriptions` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `columns` | List[*str*] | :heavy_minus_sign: | N/A | +| `descriptions` | List[*str*] | :heavy_minus_sign: | Optional: If provided, confidential fields will be preserved from the existing connector
when the corresponding field in config is empty. This allows testing updates without
requiring the user to re-enter credentials. | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicconnectorquerytemplate.md b/docs/models/textqlrpcpublicconnectorquerytemplate.md index 6d0c6e25..084d99f8 100644 --- a/docs/models/textqlrpcpublicconnectorquerytemplate.md +++ b/docs/models/textqlrpcpublicconnectorquerytemplate.md @@ -7,8 +7,8 @@ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `template_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `normalized_sql` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `tables` | List[*str*] | :heavy_minus_sign: | N/A | | -| `joins` | List[[models.TextqlRPCPublicConnectorQueryJoinInfo](../models/textqlrpcpublicconnectorqueryjoininfo.md)] | :heavy_minus_sign: | N/A | | +| `tables` | List[*str*] | :heavy_minus_sign: | 0.0-1.0 | | +| `joins` | List[[models.TextqlRPCPublicConnectorQueryJoinInfo](../models/textqlrpcpublicconnectorqueryjoininfo.md)] | :heavy_minus_sign: | milliseconds | | | `event_count` | [Optional[models.EventCount]](../models/eventcount.md) | :heavy_minus_sign: | N/A | | | `first_seen` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | | `last_seen` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | diff --git a/docs/models/textqlrpcpublicconnectorquerytemplatecteref.md b/docs/models/textqlrpcpublicconnectorquerytemplatecteref.md index f95ae3b0..729b80d2 100644 --- a/docs/models/textqlrpcpublicconnectorquerytemplatecteref.md +++ b/docs/models/textqlrpcpublicconnectorquerytemplatecteref.md @@ -5,5 +5,5 @@ | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `template_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `template_id` | *Optional[str]* | :heavy_minus_sign: | 0 = all-time | | `cte_name` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicconnectorredshiftmetadata.md b/docs/models/textqlrpcpublicconnectorredshiftmetadata.md index bd75990d..d6de7f97 100644 --- a/docs/models/textqlrpcpublicconnectorredshiftmetadata.md +++ b/docs/models/textqlrpcpublicconnectorredshiftmetadata.md @@ -3,20 +3,20 @@ ## Fields -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `host` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `port` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `user` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `password` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `database` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `schemas` | List[*str*] | :heavy_minus_sign: | N/A | -| `dialect` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `ssl_mode` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `auth_type` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `role_arn` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `region` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `cluster_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `group_federation` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `aws_access_key_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `aws_secret_access_key` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `host` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `port` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `user` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `password` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `database` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `schemas` | List[*str*] | :heavy_minus_sign: | Set on responses: secret_id, role_arn and external_id have been blanked.
Echo the ref back with all three still blank on update to keep the stored
ones; setting any of them replaces the location and requires secret_id. | +| `dialect` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `ssl_mode` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `auth_type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `role_arn` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `region` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `cluster_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `group_federation` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `aws_access_key_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `aws_secret_access_key` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/sdks/connectors/README.md b/docs/sdks/connectors/README.md index 8598a4bc..00ee116c 100644 --- a/docs/sdks/connectors/README.md +++ b/docs/sdks/connectors/README.md @@ -386,7 +386,7 @@ with Textql( | Parameter | Type | Required | Description | | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | | `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `days` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `days` | *Optional[int]* | :heavy_minus_sign: | PowerBI report IDs | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response @@ -597,7 +597,7 @@ with Textql( | Parameter | Type | Required | Description | | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | | `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `connector_id` | *Optional[int]* | :heavy_minus_sign: | Apache Arrow IPC format binary data | +| `connector_id` | *Optional[int]* | :heavy_minus_sign: | N/A | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response @@ -639,9 +639,9 @@ with Textql( | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | | `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | | `connector_id` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `limit` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `offset` | *Optional[int]* | :heavy_minus_sign: | 0.0-1.0 | -| `days` | *Optional[int]* | :heavy_minus_sign: | milliseconds | +| `limit` | *Optional[int]* | :heavy_minus_sign: | Display name (e.g., "Explore Data") | +| `offset` | *Optional[int]* | :heavy_minus_sign: | Query text to send (plain text, no formatting) | +| `days` | *Optional[int]* | :heavy_minus_sign: | True if requires multiple connectors | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response diff --git a/pyproject.toml b/pyproject.toml index de24baf6..21917fc3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "textql-sdk" -version = "1.1.18" +version = "1.1.19" description = "Python Client SDK Generated by Speakeasy." authors = [{ name = "Speakeasy" },] readme = "README-PYPI.md" diff --git a/src/textql_sdk/_version.py b/src/textql_sdk/_version.py index 4eef6b29..cf290a00 100644 --- a/src/textql_sdk/_version.py +++ b/src/textql_sdk/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "textql-sdk" -__version__: str = "1.1.18" +__version__: str = "1.1.19" __openapi_doc_version__: str = "1.0.0" __gen_version__: str = "2.935.1" -__user_agent__: str = "speakeasy-sdk/python 1.1.18 2.935.1 1.0.0 textql-sdk" +__user_agent__: str = "speakeasy-sdk/python 1.1.19 2.935.1 1.0.0 textql-sdk" try: if __package__ is not None: diff --git a/src/textql_sdk/connectors.py b/src/textql_sdk/connectors.py index cbe042cf..c046cb6c 100644 --- a/src/textql_sdk/connectors.py +++ b/src/textql_sdk/connectors.py @@ -1767,7 +1767,7 @@ def get_connector_stats( r"""GetConnectorStats :param connect_timeout_ms: - :param days: + :param days: PowerBI report IDs :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -1871,7 +1871,7 @@ async def get_connector_stats_async( r"""GetConnectorStats :param connect_timeout_ms: - :param days: + :param days: PowerBI report IDs :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -2865,7 +2865,7 @@ def list_tables( r"""ListConnectorTables :param connect_timeout_ms: - :param connector_id: Apache Arrow IPC format binary data + :param connector_id: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -2969,7 +2969,7 @@ async def list_tables_async( r"""ListConnectorTables :param connect_timeout_ms: - :param connector_id: Apache Arrow IPC format binary data + :param connector_id: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -3077,9 +3077,9 @@ def list_query_templates( :param connect_timeout_ms: :param connector_id: - :param limit: - :param offset: 0.0-1.0 - :param days: milliseconds + :param limit: Display name (e.g., \"Explore Data\") + :param offset: Query text to send (plain text, no formatting) + :param days: True if requires multiple connectors :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -3190,9 +3190,9 @@ async def list_query_templates_async( :param connect_timeout_ms: :param connector_id: - :param limit: - :param offset: 0.0-1.0 - :param days: milliseconds + :param limit: Display name (e.g., \"Explore Data\") + :param offset: Query text to send (plain text, no formatting) + :param days: True if requires multiple connectors :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds diff --git a/src/textql_sdk/models/textql_rpc_public_cells_appinfo.py b/src/textql_sdk/models/textql_rpc_public_cells_appinfo.py index be5a7cc3..0c2654fa 100644 --- a/src/textql_sdk/models/textql_rpc_public_cells_appinfo.py +++ b/src/textql_sdk/models/textql_rpc_public_cells_appinfo.py @@ -385,6 +385,8 @@ class TextqlRPCPublicCellsAppInfoTypedDict(TypedDict): http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() ) to obtain a formatter capable of generating timestamps in this format. """ + schedule_enabled: NotRequired[bool] + cron_string: NotRequired[Nullable[str]] class TextqlRPCPublicCellsAppInfo(BaseModel): @@ -394,7 +396,12 @@ class TextqlRPCPublicCellsAppInfo(BaseModel): description: OptionalNullable[str] = UNSET - status: Optional[str] = None + status: Annotated[ + Optional[str], + pydantic.Field( + deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible." + ), + ] = None creator_id: Annotated[Optional[str], pydantic.Field(alias="creatorId")] = None @@ -770,6 +777,14 @@ class TextqlRPCPublicCellsAppInfo(BaseModel): ) to obtain a formatter capable of generating timestamps in this format. """ + schedule_enabled: Annotated[ + Optional[bool], pydantic.Field(alias="scheduleEnabled") + ] = None + + cron_string: Annotated[ + OptionalNullable[str], pydantic.Field(alias="cronString") + ] = UNSET + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -783,9 +798,11 @@ def serialize_model(self, handler): "updatedAt", "refreshedAt", "publishedAt", + "scheduleEnabled", + "cronString", ] ) - nullable_fields = set(["description"]) + nullable_fields = set(["description", "cronString"]) serialized = handler(self) m = {} diff --git a/src/textql_sdk/models/textql_rpc_public_connector_connectorstatentry.py b/src/textql_sdk/models/textql_rpc_public_connector_connectorstatentry.py index 9655de0f..ab9cf4b8 100644 --- a/src/textql_sdk/models/textql_rpc_public_connector_connectorstatentry.py +++ b/src/textql_sdk/models/textql_rpc_public_connector_connectorstatentry.py @@ -12,13 +12,11 @@ TextqlRPCPublicConnectorConnectorStatEntryQueryCountTypedDict = TypeAliasType( "TextqlRPCPublicConnectorConnectorStatEntryQueryCountTypedDict", Union[int, str] ) -r"""If set, this is a feature word to be styled""" TextqlRPCPublicConnectorConnectorStatEntryQueryCount = TypeAliasType( "TextqlRPCPublicConnectorConnectorStatEntryQueryCount", Union[int, str] ) -r"""If set, this is a feature word to be styled""" AvgQueryTimeMsTypedDict = TypeAliasType("AvgQueryTimeMsTypedDict", Union[int, str]) @@ -28,14 +26,11 @@ class TextqlRPCPublicConnectorConnectorStatEntryTypedDict(TypedDict): - r"""A segment of an example query message - either plain text or a styled feature word""" - connector_id: NotRequired[int] - r"""The text content of this segment""" + r"""dataset IDs for selected Tableau collections""" query_count: NotRequired[ TextqlRPCPublicConnectorConnectorStatEntryQueryCountTypedDict ] - r"""If set, this is a feature word to be styled""" error_rate: NotRequired[float] avg_query_time_ms: NotRequired[AvgQueryTimeMsTypedDict] unique_users: NotRequired[int] @@ -134,16 +129,13 @@ class TextqlRPCPublicConnectorConnectorStatEntryTypedDict(TypedDict): class TextqlRPCPublicConnectorConnectorStatEntry(BaseModel): - r"""A segment of an example query message - either plain text or a styled feature word""" - connector_id: Annotated[Optional[int], pydantic.Field(alias="connectorId")] = None - r"""The text content of this segment""" + r"""dataset IDs for selected Tableau collections""" query_count: Annotated[ Optional[TextqlRPCPublicConnectorConnectorStatEntryQueryCount], pydantic.Field(alias="queryCount"), ] = None - r"""If set, this is a feature word to be styled""" error_rate: Annotated[Optional[float], pydantic.Field(alias="errorRate")] = None diff --git a/src/textql_sdk/models/textql_rpc_public_connector_examplequery.py b/src/textql_sdk/models/textql_rpc_public_connector_examplequery.py index fe0e46ba..1b230e17 100644 --- a/src/textql_sdk/models/textql_rpc_public_connector_examplequery.py +++ b/src/textql_sdk/models/textql_rpc_public_connector_examplequery.py @@ -19,8 +19,8 @@ class TextqlRPCPublicConnectorExampleQueryTypedDict(TypedDict): id: NotRequired[str] - r"""dataset IDs for selected Tableau collections""" label: NotRequired[str] + r"""If set, only return queries with this feature type""" message: NotRequired[str] is_multi_source: NotRequired[bool] required_connector_ids: NotRequired[List[int]] @@ -32,9 +32,9 @@ class TextqlRPCPublicConnectorExampleQueryTypedDict(TypedDict): class TextqlRPCPublicConnectorExampleQuery(BaseModel): id: Optional[str] = None - r"""dataset IDs for selected Tableau collections""" label: Optional[str] = None + r"""If set, only return queries with this feature type""" message: Optional[str] = None diff --git a/src/textql_sdk/models/textql_rpc_public_connector_getconnectorstatsrequest.py b/src/textql_sdk/models/textql_rpc_public_connector_getconnectorstatsrequest.py index 1a5b1da4..b83979ab 100644 --- a/src/textql_sdk/models/textql_rpc_public_connector_getconnectorstatsrequest.py +++ b/src/textql_sdk/models/textql_rpc_public_connector_getconnectorstatsrequest.py @@ -9,10 +9,12 @@ class TextqlRPCPublicConnectorGetConnectorStatsRequestTypedDict(TypedDict): days: NotRequired[int] + r"""PowerBI report IDs""" class TextqlRPCPublicConnectorGetConnectorStatsRequest(BaseModel): days: Optional[int] = None + r"""PowerBI report IDs""" @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_connector_getconnectorstatsresponse.py b/src/textql_sdk/models/textql_rpc_public_connector_getconnectorstatsresponse.py index 38c93479..fc3ee93f 100644 --- a/src/textql_sdk/models/textql_rpc_public_connector_getconnectorstatsresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_connector_getconnectorstatsresponse.py @@ -12,11 +12,17 @@ class TextqlRPCPublicConnectorGetConnectorStatsResponseTypedDict(TypedDict): + r"""A segment of an example query message - either plain text or a styled feature word""" + stats: NotRequired[List[TextqlRPCPublicConnectorConnectorStatEntryTypedDict]] + r"""The text content of this segment""" class TextqlRPCPublicConnectorGetConnectorStatsResponse(BaseModel): + r"""A segment of an example query message - either plain text or a styled feature word""" + stats: Optional[List[TextqlRPCPublicConnectorConnectorStatEntry]] = None + r"""The text content of this segment""" @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_connector_getexamplequeriesresponse.py b/src/textql_sdk/models/textql_rpc_public_connector_getexamplequeriesresponse.py index 489b8d69..977d9fd0 100644 --- a/src/textql_sdk/models/textql_rpc_public_connector_getexamplequeriesresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_connector_getexamplequeriesresponse.py @@ -13,12 +13,10 @@ class TextqlRPCPublicConnectorGetExampleQueriesResponseTypedDict(TypedDict): examples: NotRequired[List[TextqlRPCPublicConnectorExampleQueryTypedDict]] - r"""PowerBI report IDs""" class TextqlRPCPublicConnectorGetExampleQueriesResponse(BaseModel): examples: Optional[List[TextqlRPCPublicConnectorExampleQuery]] = None - r"""PowerBI report IDs""" @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_connector_listconnectortablesrequest.py b/src/textql_sdk/models/textql_rpc_public_connector_listconnectortablesrequest.py index 3c70c919..ce88e197 100644 --- a/src/textql_sdk/models/textql_rpc_public_connector_listconnectortablesrequest.py +++ b/src/textql_sdk/models/textql_rpc_public_connector_listconnectortablesrequest.py @@ -10,12 +10,10 @@ class TextqlRPCPublicConnectorListConnectorTablesRequestTypedDict(TypedDict): connector_id: NotRequired[int] - r"""Apache Arrow IPC format binary data""" class TextqlRPCPublicConnectorListConnectorTablesRequest(BaseModel): connector_id: Annotated[Optional[int], pydantic.Field(alias="connectorId")] = None - r"""Apache Arrow IPC format binary data""" @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_connector_listquerytemplatesrequest.py b/src/textql_sdk/models/textql_rpc_public_connector_listquerytemplatesrequest.py index 9fcb1590..6a774be4 100644 --- a/src/textql_sdk/models/textql_rpc_public_connector_listquerytemplatesrequest.py +++ b/src/textql_sdk/models/textql_rpc_public_connector_listquerytemplatesrequest.py @@ -11,22 +11,24 @@ class TextqlRPCPublicConnectorListQueryTemplatesRequestTypedDict(TypedDict): connector_id: NotRequired[int] limit: NotRequired[int] + r"""Display name (e.g., \"Explore Data\")""" offset: NotRequired[int] - r"""0.0-1.0""" + r"""Query text to send (plain text, no formatting)""" days: NotRequired[int] - r"""milliseconds""" + r"""True if requires multiple connectors""" class TextqlRPCPublicConnectorListQueryTemplatesRequest(BaseModel): connector_id: Annotated[Optional[int], pydantic.Field(alias="connectorId")] = None limit: Optional[int] = None + r"""Display name (e.g., \"Explore Data\")""" offset: Optional[int] = None - r"""0.0-1.0""" + r"""Query text to send (plain text, no formatting)""" days: Optional[int] = None - r"""milliseconds""" + r"""True if requires multiple connectors""" @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_connector_listquerytemplatesresponse.py b/src/textql_sdk/models/textql_rpc_public_connector_listquerytemplatesresponse.py index ee08ed8f..ee056f71 100644 --- a/src/textql_sdk/models/textql_rpc_public_connector_listquerytemplatesresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_connector_listquerytemplatesresponse.py @@ -14,13 +14,11 @@ class TextqlRPCPublicConnectorListQueryTemplatesResponseTypedDict(TypedDict): templates: NotRequired[List[TextqlRPCPublicConnectorQueryTemplateTypedDict]] - r"""0 = all-time""" total_count: NotRequired[int] class TextqlRPCPublicConnectorListQueryTemplatesResponse(BaseModel): templates: Optional[List[TextqlRPCPublicConnectorQueryTemplate]] = None - r"""0 = all-time""" total_count: Annotated[Optional[int], pydantic.Field(alias="totalCount")] = None diff --git a/src/textql_sdk/models/textql_rpc_public_connector_powerbiconnectorcontext.py b/src/textql_sdk/models/textql_rpc_public_connector_powerbiconnectorcontext.py index a7c6d11a..26e3c558 100644 --- a/src/textql_sdk/models/textql_rpc_public_connector_powerbiconnectorcontext.py +++ b/src/textql_sdk/models/textql_rpc_public_connector_powerbiconnectorcontext.py @@ -11,7 +11,6 @@ class TextqlRPCPublicConnectorPowerBIConnectorContextTypedDict(TypedDict): report_ids: NotRequired[List[str]] dataset_ids: NotRequired[List[str]] - r"""If set, only return queries with this feature type""" collection_ids: NotRequired[List[str]] @@ -21,7 +20,6 @@ class TextqlRPCPublicConnectorPowerBIConnectorContext(BaseModel): dataset_ids: Annotated[Optional[List[str]], pydantic.Field(alias="datasetIds")] = ( None ) - r"""If set, only return queries with this feature type""" collection_ids: Annotated[ Optional[List[str]], pydantic.Field(alias="collectionIds") diff --git a/src/textql_sdk/models/textql_rpc_public_connector_primarykeymetadata.py b/src/textql_sdk/models/textql_rpc_public_connector_primarykeymetadata.py index 09e01621..d1a3a57a 100644 --- a/src/textql_sdk/models/textql_rpc_public_connector_primarykeymetadata.py +++ b/src/textql_sdk/models/textql_rpc_public_connector_primarykeymetadata.py @@ -10,12 +10,20 @@ class TextqlRPCPublicConnectorPrimaryKeyMetadataTypedDict(TypedDict): columns: NotRequired[List[str]] descriptions: NotRequired[List[str]] + r"""Optional: If provided, confidential fields will be preserved from the existing connector + when the corresponding field in config is empty. This allows testing updates without + requiring the user to re-enter credentials. + """ class TextqlRPCPublicConnectorPrimaryKeyMetadata(BaseModel): columns: Optional[List[str]] = None descriptions: Optional[List[str]] = None + r"""Optional: If provided, confidential fields will be preserved from the existing connector + when the corresponding field in config is empty. This allows testing updates without + requiring the user to re-enter credentials. + """ @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_connector_querytemplate.py b/src/textql_sdk/models/textql_rpc_public_connector_querytemplate.py index 8c07edba..3e865e00 100644 --- a/src/textql_sdk/models/textql_rpc_public_connector_querytemplate.py +++ b/src/textql_sdk/models/textql_rpc_public_connector_querytemplate.py @@ -27,7 +27,9 @@ class TextqlRPCPublicConnectorQueryTemplateTypedDict(TypedDict): template_id: NotRequired[str] normalized_sql: NotRequired[str] tables: NotRequired[List[str]] + r"""0.0-1.0""" joins: NotRequired[List[TextqlRPCPublicConnectorQueryJoinInfoTypedDict]] + r"""milliseconds""" event_count: NotRequired[EventCountTypedDict] first_seen: NotRequired[datetime] r"""A Timestamp represents a point in time independent of any time zone or local @@ -223,8 +225,10 @@ class TextqlRPCPublicConnectorQueryTemplate(BaseModel): ) tables: Optional[List[str]] = None + r"""0.0-1.0""" joins: Optional[List[TextqlRPCPublicConnectorQueryJoinInfo]] = None + r"""milliseconds""" event_count: Annotated[Optional[EventCount], pydantic.Field(alias="eventCount")] = ( None diff --git a/src/textql_sdk/models/textql_rpc_public_connector_querytemplatecteref.py b/src/textql_sdk/models/textql_rpc_public_connector_querytemplatecteref.py index e539ec40..7ecbee21 100644 --- a/src/textql_sdk/models/textql_rpc_public_connector_querytemplatecteref.py +++ b/src/textql_sdk/models/textql_rpc_public_connector_querytemplatecteref.py @@ -10,11 +10,13 @@ class TextqlRPCPublicConnectorQueryTemplateCteRefTypedDict(TypedDict): template_id: NotRequired[str] + r"""0 = all-time""" cte_name: NotRequired[str] class TextqlRPCPublicConnectorQueryTemplateCteRef(BaseModel): template_id: Annotated[Optional[str], pydantic.Field(alias="templateId")] = None + r"""0 = all-time""" cte_name: Annotated[Optional[str], pydantic.Field(alias="cteName")] = None diff --git a/src/textql_sdk/models/textql_rpc_public_connector_redshiftmetadata.py b/src/textql_sdk/models/textql_rpc_public_connector_redshiftmetadata.py index 99a5e04a..cb48cf88 100644 --- a/src/textql_sdk/models/textql_rpc_public_connector_redshiftmetadata.py +++ b/src/textql_sdk/models/textql_rpc_public_connector_redshiftmetadata.py @@ -15,6 +15,10 @@ class TextqlRPCPublicConnectorRedshiftMetadataTypedDict(TypedDict): password: NotRequired[str] database: NotRequired[str] schemas: NotRequired[List[str]] + r"""Set on responses: secret_id, role_arn and external_id have been blanked. + Echo the ref back with all three still blank on update to keep the stored + ones; setting any of them replaces the location and requires secret_id. + """ dialect: NotRequired[str] ssl_mode: NotRequired[bool] auth_type: NotRequired[str] @@ -38,6 +42,10 @@ class TextqlRPCPublicConnectorRedshiftMetadata(BaseModel): database: Optional[str] = None schemas: Optional[List[str]] = None + r"""Set on responses: secret_id, role_arn and external_id have been blanked. + Echo the ref back with all three still blank on update to keep the stored + ones; setting any of them replaces the location and requires secret_id. + """ dialect: Optional[str] = None diff --git a/uv.lock b/uv.lock index 1405d796..572de4d7 100644 --- a/uv.lock +++ b/uv.lock @@ -470,7 +470,7 @@ wheels = [ [[package]] name = "textql-sdk" -version = "1.1.18" +version = "1.1.19" source = { editable = "." } dependencies = [ { name = "connect-python" }, From 52902a654a436eedb57dfed13ed4c2d2101f1803 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Fri, 4 Sep 2026 16:34:52 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow