Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
62d1968
deprecate tableQuery
Aug 13, 2025
89805fb
add docstring to _queryTable and _queryTableNext for deprecation
Aug 13, 2025
b42d058
add deprecation message for _queryTableCsv
Aug 14, 2025
e506408
add deprecation message for _uploadCSV
Aug 14, 2025
5c04e36
use standardized format
Aug 14, 2025
9f5d1f0
add deprecation notice to private functions
Aug 14, 2025
33d6e7d
Merge branch 'develop' into synpy-1632
Aug 15, 2025
cb6cd78
Merge branch 'develop' into synpy-1632
Aug 15, 2025
73eee3f
migrate selectColumn, queryTablecsv, and tableQuery
Aug 15, 2025
546181b
change to snake case
Aug 15, 2025
3bbf6e9
handle headers
Aug 15, 2025
7df37b2
add default; also fix headers
Aug 18, 2025
3d3c4cd
change function name to snake case
Aug 18, 2025
a793730
fix
Aug 18, 2025
c072ada
make synapse client optional in table_query
Aug 18, 2025
ad88b7b
merge with develop
Aug 18, 2025
4b964cb
use csv_to_pandas_df directly, avoid using TableQueryResult when usin…
Aug 19, 2025
59b9ae3
use csv_to_pandas_df directly, avoid using TableQueryResult when usin…
Aug 19, 2025
847a499
bring back QueryResultBundle, add docstring, turn functions to internal
Aug 19, 2025
42df8dd
add data classes and fix tests
Aug 20, 2025
e93c90e
turn query_table_csv to async so that download_by_file_handle can bet…
Aug 20, 2025
5287f88
add test for _query_table_csv
Aug 20, 2025
632de50
make sure the default is None for all the dataclasses; make _query_ta…
Aug 21, 2025
d7bcf20
fix test
Aug 21, 2025
846f537
turn _query_table_csv back to a sync function and update test
Aug 21, 2025
0d94ccf
clean up docstring and comment
Aug 21, 2025
8f89c6e
fix code since we are now using queryresultbundle
Aug 21, 2025
437ae76
correct type hinting. it should return a list of rows not rowset
Aug 21, 2025
4d441ff
revert the function signature back for query_part_mask function and m…
Aug 21, 2025
dfd4460
make return type align
Aug 21, 2025
1380088
fix select column dataclass and one test
Aug 21, 2025
65d71e7
assert called instead of assert called once
Aug 21, 2025
f277d94
fix test
Aug 22, 2025
9eee5a1
added QueryJob object and use that to make a request to querycsvtable
Aug 26, 2025
b38a345
add QUERY BUNDLE REQUEST dataclass and implement async communicator o…
Aug 27, 2025
a53df39
change from 4.5.0 to 4.9.0
Aug 27, 2025
b1daba0
fix tests
Aug 27, 2025
3429032
change _query_table_next_page back to sync
Aug 27, 2025
28b7f7b
move location; utilize columnModel
Aug 27, 2025
b659dcf
add a test for QueryResultOutput dataclass
Aug 27, 2025
f541699
add test for Row dataclass
Aug 27, 2025
6e35278
add tests for action required count dataclass and select column data …
Aug 27, 2025
ee742d6
add test for data class QueryNextPageToken
Aug 27, 2025
3fe8f1a
add test row set
Aug 27, 2025
0335d4b
add test for QueryResult
Aug 27, 2025
86b130b
add TestQueryJob
Aug 28, 2025
8e4d3ab
add test for query data class
Aug 28, 2025
0adc910
add docstring in QueryJob, turn default to None, fix test
Aug 28, 2025
c76e4bd
create TestQueryResultBundle
Aug 28, 2025
b6e4c58
create TestQueryBundleRequest
Aug 28, 2025
09828c4
added data class to __init__ import
Aug 28, 2025
880d60d
move import
Aug 28, 2025
69e32a6
make sure column array in QueryJob is SelectColumn; fix docstring and…
Aug 28, 2025
20f750f
quick fix two tests
Aug 28, 2025
69f54d7
fix tests
Aug 28, 2025
74d892f
remove print; modify test for more precise spy
Aug 28, 2025
ca78b41
fix unit test
Aug 28, 2025
77876d3
important to initalize rows as [] here to make sure the following cod…
Aug 29, 2025
cc43bae
add docstring
Aug 29, 2025
e663bf8
add dataclasses to documentation
Aug 29, 2025
ff441b4
add doc for sync
Aug 29, 2025
259c1c7
fix docstring; fix typos in CsvTableDescriptor; added more attributes…
Sep 2, 2025
58e67d1
add docstring
Sep 2, 2025
f5f7dd2
change the rowset function to private
Sep 2, 2025
47e06fb
remove duplicated import
Sep 2, 2025
80b7aaa
add unit test for _query_table_row_set function; add a concrete type …
Sep 2, 2025
02509c5
initialize rows in rowset as an empty list
Sep 2, 2025
bbdd0a1
correct typo in attribute name; make sure to call csvtabledescriptor …
Sep 2, 2025
9a6fe4f
move import statement and also fix unit test
Sep 2, 2025
b9fd1a5
edit docstring; add concrete type constant
Sep 2, 2025
17782f0
update the sync test
Sep 3, 2025
130e9fc
fix test in sync folder just like async; remove confusing comment; up…
Sep 3, 2025
57010cf
fix test in sync
Sep 3, 2025
f3a3cb6
fix typo
linglp Sep 4, 2025
27cd5ab
remove unused commit
Sep 4, 2025
bd55571
Merge branch 'synpy-1632' of https://github.com/Sage-Bionetworks/syna…
Sep 4, 2025
daa99bf
add back greater_than due to error from copilot
Sep 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ repos:
language_version: python3

- repo: https://github.com/PyCQA/bandit
rev: 1.7.5
rev: 1.8.0
hooks:
- id: bandit
args: ["-c", "pyproject.toml"]
Expand Down
23 changes: 23 additions & 0 deletions docs/reference/experimental/async/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,29 @@ at your own risk.
::: synapseclient.models.ColumnType
[](){ #json-sub-column-reference-async }
::: synapseclient.models.JsonSubColumn
[](){ #sumfilesize-reference-async }
::: synapseclient.models.SumFileSizes
[](){ #query-reference-async }
::: synapseclient.models.Query
[](){ #query-bundle-request-reference-async }
::: synapseclient.models.QueryBundleRequest
[](){ #query-job-reference-async }
::: synapseclient.models.QueryJob
[](){ #query-next-page-token-reference-async }
::: synapseclient.models.QueryNextPageToken
[](){ #query-result-reference-async }
::: synapseclient.models.QueryResult
[](){ #query-result-bundle-reference-async }
::: synapseclient.models.QueryResultBundle
[](){ #query-result-output-reference-async }
::: synapseclient.models.QueryResultOutput
[](){ #row-reference-async }
::: synapseclient.models.Row
[](){ #rowset-reference-async }
::: synapseclient.models.RowSet
[](){ #select-column-reference-async }
::: synapseclient.models.SelectColumn



[](){ #column-change-reference-async }
Expand Down
24 changes: 24 additions & 0 deletions docs/reference/experimental/sync/table.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,30 @@ at your own risk.
::: synapseclient.models.ColumnType
[](){ #json-sub-column-reference-sync }
::: synapseclient.models.JsonSubColumn
[](){ #sumfilesize-reference-sync }
::: synapseclient.models.SumFileSizes
[](){ #query-reference-sync }
::: synapseclient.models.Query
[](){ #query-bundle-request-reference-sync }
::: synapseclient.models.QueryBundleRequest
[](){ #query-job-reference-sync }
::: synapseclient.models.QueryJob
[](){ #query-next-page-token-reference-sync }
::: synapseclient.models.QueryNextPageToken
[](){ #query-result-reference-sync }
::: synapseclient.models.QueryResult
[](){ #query-result-bundle-reference-sync }
::: synapseclient.models.QueryResultBundle
[](){ #query-result-output-reference-sync }
::: synapseclient.models.QueryResultOutput
[](){ #row-reference-sync }
::: synapseclient.models.Row
[](){ #rowset-reference-sync }
::: synapseclient.models.RowSet
[](){ #select-column-reference-sync }
::: synapseclient.models.SelectColumn




[](){ #column-change-reference-sync }
Expand Down
Loading
Loading