Commit b3edaf1
authored
Correct declared Python support and accept the 'id' field (#184)
Two independent metadata/validation fixes.
REQUIRES_PYTHON was ">=3.0", which is not satisfiable: the SDK cannot
run on any Python 3.x below 3.10, because shapely>=2.1.0 (a declared
runtime requirement) itself requires >=3.10. Verified by installing the
built wheel into clean environments: 3.9 fails to resolve, 3.10 installs
and the SDK works end to end against the live API. The SDK's own source
uses no syntax newer than f-strings, so the floor comes from the
dependency set rather than the code. Classifiers updated to match, and
3.13/3.14 added -- both verified working.
'id' was missing from every entity field list, so passing fields=['id']
raised InvalidFieldError even though the Graph API accepts it and every
decoded feature carries an id. Confirmed against the live API for
images, map features and detections:
GET /1933525276802129?fields=id,captured_at
{"id":"1933525276802129","captured_at":1507560881000}
Added to the image, map feature, detection (both variants) and
organization field lists.1 parent 9eecb61 commit b3edaf1
2 files changed
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | 61 | | |
67 | 62 | | |
68 | 63 | | |
| 64 | + | |
| 65 | + | |
69 | 66 | | |
70 | 67 | | |
71 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| 374 | + | |
374 | 375 | | |
375 | 376 | | |
376 | 377 | | |
| |||
441 | 442 | | |
442 | 443 | | |
443 | 444 | | |
| 445 | + | |
444 | 446 | | |
445 | 447 | | |
446 | 448 | | |
| |||
490 | 492 | | |
491 | 493 | | |
492 | 494 | | |
493 | | - | |
| 495 | + | |
494 | 496 | | |
495 | 497 | | |
496 | 498 | | |
| |||
533 | 535 | | |
534 | 536 | | |
535 | 537 | | |
536 | | - | |
| 538 | + | |
537 | 539 | | |
538 | 540 | | |
539 | 541 | | |
| |||
574 | 576 | | |
575 | 577 | | |
576 | 578 | | |
577 | | - | |
| 579 | + | |
578 | 580 | | |
579 | 581 | | |
580 | 582 | | |
| |||
0 commit comments