-
Notifications
You must be signed in to change notification settings - Fork 66
Mypy type checking #1030
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
ZohebShaikh
wants to merge
282
commits into
main
Choose a base branch
from
mypy-type-fix
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+14
−15
Draft
Mypy type checking #1030
Changes from 4 commits
Commits
Show all changes
282 commits
Select commit
Hold shift + click to select a range
72f9a15
Update custom format test (#1039)
ZohebShaikh f1632d6
Remove registry overrides when building app kwargs (#1072)
tpoliaw c3bdfd8
Re-use build_app_from_config when building default app (#1073)
tpoliaw 314ade1
Add initial typing to config module (#1074)
tpoliaw 78af109
Add /zarr/v2 and /zarr/v3 Endpoints (#774)
genematx 63e7a37
locust read load testing (#1055)
gwbischof 7cdd704
Update version pins
danielballan f60e2c1
Drop pixi config for pyproject, will put in separate file
danielballan 2039efe
Use uv on GHA
danielballan 2e14bed
Remove extraneous step.
danielballan 3df139a
Tolerate missing access blob
danielballan 3883432
Update CHANGELOG
danielballan a100679
Add access_blob column to revisions table.
danielballan 8ade7c3
Update CHANGELOG. Highlight migration.
danielballan 52f2879
Add migration script
danielballan c3fb7cc
Test on Python 3.13 in CI matrix
danielballan dcf6528
fix: Correct indentation of args field in config schema (#1087)
tpoliaw bd173bb
REL: v0.1.0-b33
danielballan cd22d25
Migration fixes (#1089)
genematx 2852354
REL: v0.1.0-b34
danielballan 9aae372
resolve npm warn #1090 (#1092)
AditiChikkali 2e3df1d
Add pixi manifest (#1094)
danielballan c27e609
Use Approximate Length for Large Containers (#1096)
genematx 11d546a
Rewrite Dockerfile (#1086)
danielballan 4373daa
REL: v0.1.0-b35
danielballan b41dc8c
chore(types): Type hint Utils module (#1043)
DiamondJoseph 5708de0
📝 Register Queries
Kezzsim d8461d6
🤔 Make it work... (with top level keys only)
Kezzsim 1074e00
🧠 Key search using `tsvector`
Kezzsim 729995e
😉 FTS5 includes `key` as a column
Kezzsim 12980d8
✅ Finish MVP
Kezzsim 5c8ddc8
↪️ Change the strategy to align with requirements
Kezzsim 435bb5c
➰ Reformat API to `keyExists()`
Kezzsim 9327fb9
➿ Remove references to `KeyNotIn`
Kezzsim ecaff39
🏔️ Define tests and fix logic
Kezzsim d3162c5
🧹 Black / Flake8
Kezzsim ffa12db
📚️ Finish docs
Kezzsim b89619d
1️⃣ EZMerge step 1 : parity check
Kezzsim 72653bc
2️⃣ Complete EZMerge from upstream
Kezzsim 8b8fc4e
FIX: imported name
genematx dc9e03c
🏷️ Rename `KeyExists` to `KeyPresent`
Kezzsim ebd8806
*️⃣ Renaming of interior functions
Kezzsim 922f253
💲Add missing sqlite dollarsign string
Kezzsim d54f0e9
🚥 Experiment with dynamic test data
Kezzsim 11782aa
Revert to existing test paradigm for now.
danielballan 9892eb5
Add test cases
danielballan 4862b3f
Remove Composite Structure Family (#1093)
genematx 81f76de
Add note about container slicing performance.
danielballan 08527ee
Fix typo; improve clarity
danielballan 09ac77c
REL: v0.1.0-b36
danielballan 6b66a5e
Remove SpecialUsers principals (#1065)
nmaytan bcd372d
Move shareable authz utilities into Tiled (#1008)
nmaytan 894dcec
Fix yallist dependency conflict (#1106)
AditiChikkali 7f1b7e6
Adding Configs for Connection Pool Sizes (#1102)
genematx 22651f2
Websocket endpoint (#999)
vshekar 66cd03a
REL: v0.1.0-b37
danielballan f80691d
Add missing __init__.py
danielballan 685f4c6
Update CHANGELOG
danielballan dd85e95
REL: v0.1.0-b38
danielballan 1a5b803
udpates to workflows to cache docker layers (#1111)
gwbischof b92236c
FIX: set default None for optional patch (#1115)
genematx 0c0775d
REL: v0.1.0-b39
danielballan 2de124b
Fix for nodes_closure migration when node name matches parent (#1116)
canismarko 252b2ab
Rename write_dataframe (#1118)
genematx ea29650
Composite Validity Checks (#1119)
genematx bda6f2d
Changing the Order of Arguments (#1117)
genematx f4b86a5
Streaming (websocket) tutorial (#1121)
danielballan 8e1b2ab
Explain thinking behind storage database (#1108)
danielballan f1ced13
Add tutorial
danielballan 623339f
Handle server-initiated close, and expose it.
danielballan 826dfdd
INCR creates key at '0' if not present
danielballan d2a72bb
Handle sequence counter lifecycle
danielballan d4da021
Fix and comment on setting sequence TTL at close
danielballan ddadb71
Fix rebase issue
danielballan 3a82762
copyedit
danielballan 418f5bb
Update Roadmap and Changelog for v0.1.0
danielballan a7e2ec0
REL: v0.1.0
danielballan 45dea82
add missing deps from server (#1141)
dylanmcreynolds 61ce3eb
docs: Fix misstatement about streaming support (#1142)
danielballan 0d6cd8f
fix: The built UI app was placed in the wrong location. (#1140)
danielballan ab9cace
Use pydantic for config file loading (#1091)
tpoliaw 446b7e7
REL: v0.1.1-rc1
danielballan 86641e8
REL: v0.1.1
danielballan 9d0f145
Pin back duckdb to avoid regression in 1.4.0 (#1149)
danielballan d9634aa
REL: v0.1.2
danielballan 0ee24eb
Accept 'trees' and 'media_types' config in multiple files.
danielballan 91f97a0
Update CHANGELOG
danielballan 0bbbea8
fix: Ensure configs are in fact merged
danielballan 16c1287
Include allow_origins
danielballan 45469fb
test: 'tree' config referencing constructor method
danielballan 2cfd28b
fix: Raise ValueError consistently.
danielballan d0dbd43
fix: Expect entrypoint string format
danielballan f66f785
Update CHANGELOG
danielballan 50d96b1
Process-global Connection Pooling (#1156)
genematx 75d4ccc
Monitoring of DB Connection Pools (#1163)
genematx 736c0a2
REL: v0.1.3
danielballan 16a1455
Collect custom APIRouters in list, not set. (#1166)
danielballan 37c55ae
REL: v0.1.4
danielballan 3bcae61
📁🚫🫷It's okay to say no to profiles ending with special characters
Kezzsim ca78270
📂👀 Only see valid `yaml` files
Kezzsim 23ce0ff
🧹 Multiline lint
Kezzsim f3641c0
Keep Extra kwargs in CompositeClient.base (#1169)
genematx 5c8b467
fix!: Do not bind AuthN db session lifecycle to request lifecycle
danielballan 3ae81ac
refactor: db -> db_factory in routes
danielballan 2514bb7
refactor: Use db_factory in routes
danielballan ba85ca3
Fix typo in comment
danielballan 0e27603
Handle single-user case.
danielballan 7600f5f
Backport nullcontext with async for py39
danielballan e8675c3
Update CHANGELOG
danielballan f58630d
Additional Metrics for Connection Pools (#1168)
genematx 42fdbe7
REL: v0.1.5
danielballan 007075e
Avoid circular import (#1174)
danielballan d405909
REL: v0.1.6
danielballan 5ab7016
FIX: Ensure Column Names are Strings (#1177)
genematx f6dcf12
Typed adapters (#1047)
DiamondJoseph 5f7c0ea
Update of default Redis socket_timeout (#1175)
gwbischof 4cca74b
Update starlette status codes (#1183)
ZohebShaikh 100764f
Allow bearer access token for authentication (#1054)
ZohebShaikh fe69b45
Fix Shapes of StructDtyped Arrays Read from CSV (#1181)
genematx f0323b0
Add 'locking' parameter to hdf5 adapter (#1164)
genematx 878a63a
chore(types): Use common base type for all access policy types (#1044)
tpoliaw ed00a5d
fix: Prevent accessing stat_result before assignment (#1185)
DiamondJoseph dce2309
🛜 Stream container updates to WebSocket subscribers (#1176)
Kezzsim 192beed
Allow extra kwargs in HDF5Adapter.from_uris and .from_catalog (#1186)
genematx faffab0
Test Using Subset of Columns in CSVArrayAdapter. (#1023)
genematx 870342d
Increase starlette lower bound pin (#1187)
danielballan 01ea25a
Apply default cache_settings when using CLI (#1188)
danielballan 1b0b186
Catch up pixi deps to changes in pyproject (#1189)
danielballan a9aeb27
feat: Enable chaining Subscription.add_callback and Subscription.star…
danielballan 126536b
Subscription.start() blocks the current thread. (#1152)
danielballan b191911
Add Oauth2 spec device flow (#1171)
ZohebShaikh c74ece2
Implement /authorize endpoint to initiate OAuth flows with redirects …
SeijDeLeon ce13eea
Rename start_on_thread to start_in_thread. (#1190)
danielballan a4a225b
REL: v0.2.0-a1
danielballan 1655b6f
Drop revision and streaming (#1193)
danielballan a10883d
REL: v0.2.0-a2
danielballan dcfbf0d
🔑 Add key to `replace_metadata` (#1195)
Kezzsim 915588c
Abstract redis specific code into a StreamingCache class (#1192)
vshekar 26773ca
Fix race condition in subscription tests (#1197)
danielballan b7f6848
Use an executor.
danielballan a343a9c
Rename 'stop' to 'close'.
danielballan 8a90f93
Update CHANGELOG
danielballan 157d405
Update test for API change
danielballan e43d83b
Add a 'type' field to the WS messages
danielballan cfd379c
Rename 'content-type' to mimetype for consistency with data_source
danielballan a37ceb1
Parse WS messages into models.
danielballan bf37c8c
Client-build item was missing 'ancestors'
danielballan 311d3d2
Decode array data (hard-coded data type for now)
danielballan 73e8f42
Incorporate a 'schema' message to provide context for updates.
danielballan de4587c
Use data methods instead of hard-coded dtype.
danielballan 0f3b730
Update test to account for schema message
danielballan 4f26db8
Be consistent about prefixing msg type with structure family
danielballan 54341d9
Separate Subscriptions per structure and callback registries per mess…
danielballan be95e48
Refactor test to exercise subscribe method.
danielballan 067a4f0
minor unrelated cleanup
danielballan 26ee65d
Enable chaining sub = subscribe().start_in_thread()
danielballan cfefe57
Test container subs
danielballan 0636ac0
Include access_blob in container-child-created
danielballan ba51ff7
Pass child_created callback a client object
danielballan 175e92c
The Subscription owns the executor and should shut it down.
danielballan b5f890c
Add callback registry from stream_closed and test.
danielballan dac2de0
Move links functions out of server.
danielballan b77a6f5
Update test to new ContainerSubscription API
danielballan 780518c
Finish client node creation
danielballan 7790af4
fix access blob
danielballan 867b8b9
Server initiated close should clean up resources
danielballan 2a62de3
Work around unrelated issue
danielballan 536cf82
Use context protocol to ensure cleanup in tests.
danielballan 93b001a
Fix URL in item links
danielballan 60c5bf7
Separate signals for disconnected, stream_closed.
danielballan 61d5acc
Sketch exactly item equality test.
danielballan a666317
Enable test server to read tmp files
danielballan c416944
Update deprecated usage
danielballan a63d214
Update schemas for array-ref
danielballan ee36bc7
Fix assumption in FileSequenceAdapters that chunks are size 1
danielballan 020da38
Smoke test array-ref message.
danielballan 5281e4c
If start() is interrupted, run cleanup
danielballan c386d35
Attach Subscription to LiveUpdate.
danielballan 588f942
Update docs with new APIs
danielballan 1b8b7ab
Minor cleanup
danielballan ea4b3da
Implement fetching array data frame reference.
danielballan e176396
Fix missed update in type name change
danielballan 0967480
Fix other missed prefix
danielballan 643cbae
🪣 Support for OBject Storage (#1021)
Kezzsim f22a423
Stream tabular data (#1201)
danielballan 3c719ff
Streaming table writes works
danielballan d9c2850
array-ref needs a shape for the first update
danielballan b45d842
Move array patch specification to query params.
danielballan 02e4efe
Update CHANGELOG and docs.
danielballan 8b290e2
Revert misplaced change
danielballan d22edb5
Drop 'extend' parameter from ArrayPatch.
danielballan bbbed92
REL: v0.2.0-b1
danielballan ea9d300
Move util shared by client and adapters out of adapters subpackage.
danielballan 1890148
Fixed ValueError when attempting to read a table from composite node …
jmaruland 42d3cea
REL: v0.2.0
danielballan 5f3cf92
fix: Support both .yml and .yaml extensions for config (#1210)
tpoliaw 191812b
Bury tiled.auth imports in CLI (#1212)
padraic-shafer 7353aa7
Update demo URL
danielballan 380ddf4
Remove test dependency on external server.
danielballan 38a9f9a
whitespace
danielballan f93c2be
Add optional 'persist' query to PUT/PATCH array (#1213)
padraic-shafer 18111e4
Pin down pydantic-settings (#1229)
danielballan 2736259
📵 Remove `async` from blocking function calls (#1224)
Kezzsim ce9c71e
Add delete:revision, delete:node scopes (#1217)
nmaytan b5870a2
Fix database settings (#1231)
dan-fernandes 9af5117
Pool / cache in-memory SQLite databases (#1234)
nmaytan 160e656
fix: Update fastapi signature (#1238)
DiamondJoseph b713556
Update other version pins to match.
danielballan 391b3c9
REL: v0.2.2
danielballan eb07895
Update config schema for new authdb default (#1239)
nmaytan be78194
Subscription Retry (#1218)
gwbischof 999eb77
Bumped py39 env to python 3.13 after reaching end of life (#1247)
jmaruland 959350e
Use upstream FileResponse that now supports Range
danielballan b059b75
fix(ci): Allow helm to publish when forked (#1242)
DiamondJoseph 5f1e693
Split apikeys scope into create and revoke (#1250)
nmaytan e7ba9d2
Register Directories as Single Nodes (#1254)
genematx 31face6
Add sorting functionality to search results (#1253)
anubhutisinha04 5806816
Improve AuthN DB migration, address API key scopes (#1259)
nmaytan fafe963
Fix typo when searching in catalog node (#1257)
tpoliaw 973fdf9
Get slices of composite client (#1256)
AbbyGi 7e00ba6
Update to use a startup script for keycloak-oidc (#1244)
ZohebShaikh 8e4d30d
Add external Policy Decision Point for Authorization (#1170)
ZohebShaikh 74127f5
If server allows anonymous access, allow anon access to WS too. (#1219)
danielballan 9f8e41e
fix: registration with a prefix (#1260)
danielballan b4bae60
REL: v0.2.3
danielballan 8381e1d
Include more context when subprocess fails (#1263)
tpoliaw 3f0afee
Preemptively Reshape Arrays (#1271)
genematx 2087c18
Sparipsa fix typos (#1270)
San-WierPa 2c077b2
Configure Server-level FastAPI Routers (#1267)
genematx 30f71d9
Stream larger data (#1262)
gwbischof 6b57c54
Add option to add custom config using input (#1275)
ZohebShaikh 972ce14
Add uri to LiveChildCreated
danielballan 159e826
Fix warnings in docs build.
danielballan 95093a5
Configure exclude-members globally.
danielballan 76a4d47
Try hooking into sphinx events
danielballan da59317
Pin back pandas for now.
danielballan 733dd0f
Extend timeout for slow CI workers
danielballan 443cb93
[WIP] Added TTLCacheDatastore with potential PubSub (#1216)
vshekar 5e18f26
Move tests out of package (#1281)
danielballan e653163
Add custom auth for tiled client (#1269)
ZohebShaikh 993f7fe
chore: Drop Python 3.9 (EOL) (#1284)
danielballan 4eae722
Require setting explicit scopes to use access-tag restricted apikeys …
nmaytan c094ad3
allow ALL_ACCESS queries (#1286)
ZohebShaikh ba713ce
Fix regression in raw_export and download (#1287)
genematx c844234
Fix Node Deletion (#1283)
genematx 669730a
Add 'properties' to DataSources (#1268)
genematx 6b34415
Refresh documentation (#1289)
danielballan 23a4a8f
Include docs group in publish workflow.
danielballan 8a74473
REL: v0.2.5
danielballan 41d574a
Merge branch 'main' into mypy-type-fix
ZohebShaikh File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this actually work? Or as discussed, is the type hint wrong and the method works with what it was previously receiving?