Skip to content

Commit 8d3af04

Browse files
martin-majlisMartin Majlis
andauthored
Add API for coordinates, random, search, and geosearch (#504)
* Add API for coordinates, random, search, and geosearch * Fix failing examples * trivial: Fix attribute validation * Add forgotten expected outputs * Update recorded outputs * use coordinate objects rather than string separated values * Use enum for namespace instead of int * Make direction an enum * Use more types instead of Any * Use pages as key for coordinates API call. * trivial: Ignore node_modules * Introeuce type alias for Direction * Use enums instead of strings in parameters * Use enums in props * Fix failing tests * Update documentation * Move namespace related enums to _enums.py * Use enums as parameters * Make it compatible with Python 3.10 * Record pages * Add missing expected files --------- Co-authored-by: Martin Majlis <martin.majlis+github@gmail.com>
1 parent f525c56 commit 8d3af04

106 files changed

Lines changed: 11443 additions & 820 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,3 +229,4 @@ tests/cli/expected/*.error
229229
# Log files
230230
*.log
231231
*.out
232+
node_modules

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ repos:
5353
name: Run pyupgrade
5454
entry: uv run pyupgrade
5555
language: system
56-
args: ["--py310-plus"]
56+
args: ["--py310"]
5757
types: [file, python]
5858
- repo: https://github.com/gitleaks/gitleaks
5959
rev: v8.16.3

0 commit comments

Comments
 (0)