Jedd Morgan
4f82c0f43d
feat(api): Added functions for fetching the connector version feeds. ( #435 )
...
Publish Python Package / test (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
* Added connector feed utility functions
* Check ex code
2025-07-18 13:00:09 +01:00
Jedd Morgan
f5e024c8ce
perf(serializer): Avoid unnecessary serialization of detached objects ( #431 )
...
* Avoid unnecessary serialization of detached objects
* camel case variable namings
2025-06-16 16:24:41 +01:00
Dogukan Karatas
3bcdf723b0
feat (api): projects with permissions ( #430 )
...
Publish Python Package / test (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
* adds project with permissions
* removes the project resource with permissions
* fix the tests
2025-06-06 16:07:48 +02:00
Jedd Morgan
adc1105b3a
Forward secret to publish job ( #428 )
Publish Python Package / test (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
2025-06-02 17:00:00 +01:00
Gergő Jedlicska
fa9877b6da
Gergo/ci upgrade ( #427 )
...
* feat(ci): refactor ci jobs to remove duplication
* chore(ci): just some comment fix
2025-06-02 16:45:41 +02:00
Gergő Jedlicska
2929e2f93b
Merge pull request #426 from specklesystems/v3-dev
...
V3 mainline
2025-06-02 15:10:27 +01:00
Gergő Jedlicska
6636950705
Merge branch 'main' of github.com:specklesystems/specklepy into v3-dev
2025-06-02 12:52:31 +02:00
Gergő Jedlicska
79c0106f57
Merge pull request #425 from specklesystems/gergo/fix_wheel_build
...
Publish Python Package / continuous-integration (3.10) (push) Has been cancelled
Publish Python Package / continuous-integration (3.11) (push) Has been cancelled
Publish Python Package / continuous-integration (3.12) (push) Has been cancelled
Publish Python Package / continuous-integration (3.13) (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
fix: specify what packages to include in the wheel
2025-05-29 14:33:31 +02:00
Gergő Jedlicska
f4d73ff1ae
fix: specify what packages to include in the wheel
2025-05-29 14:31:39 +02:00
Gergő Jedlicska
7ea719141f
Merge pull request #424 from specklesystems/gergo/objectResultsWithApplicationIds
...
Publish Python Package / continuous-integration (3.10) (push) Has been cancelled
Publish Python Package / continuous-integration (3.11) (push) Has been cancelled
Publish Python Package / continuous-integration (3.12) (push) Has been cancelled
Publish Python Package / continuous-integration (3.13) (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
feat(automate): attach application id-s to automate result cases
2025-05-28 10:43:10 +02:00
Gergő Jedlicska
a47f568f69
chore: comment cleanup
2025-05-27 15:34:59 +02:00
Gergő Jedlicska
b174802451
fix(automate): remove last ref to object_id
2025-05-27 14:30:19 +02:00
Gergő Jedlicska
87a7e7482d
Merge branch 'v3-dev' of github.com:specklesystems/specklepy into gergo/objectResultsWithApplicationIds
2025-05-22 20:36:38 +02:00
Gergő Jedlicska
e888339dda
feat(automate): attach application id-s to automate result cases
2025-05-22 20:35:35 +02:00
Dogukan Karatas
3417557405
feat: BlenderObject ( #423 )
...
Publish Python Package / continuous-integration (3.10) (push) Has been cancelled
Publish Python Package / continuous-integration (3.11) (push) Has been cancelled
Publish Python Package / continuous-integration (3.12) (push) Has been cancelled
Publish Python Package / continuous-integration (3.13) (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
* adds blenderobject
* exports the classes
* tests added
2025-05-21 18:18:36 +02:00
Jedd Morgan
8aba21de01
Fix(v2): Fix Workspace Visibility enum for Project queries ( #422 )
...
* V2 workspaces updated
* Update hooks
* Updated docker file
* Pre-commit passing
* Skipped failing test
* commented out test
* Fixed tests
2025-05-19 11:52:47 +02:00
Gergő Jedlicska
4ce61f4e89
feat: add WORKSPACE visibility for projects ( #421 )
...
Publish Python Package / continuous-integration (3.10) (push) Has been cancelled
Publish Python Package / continuous-integration (3.11) (push) Has been cancelled
Publish Python Package / continuous-integration (3.12) (push) Has been cancelled
Publish Python Package / continuous-integration (3.13) (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
* feat: add WORKSPACE visibility for projects
* tests: projects are now private by default, follow that in tests
2025-05-15 14:35:54 +02:00
Dogukan Karatas
6d6e1e7650
adds can_load and can_publish ( #420 )
Publish Python Package / continuous-integration (3.10) (push) Has been cancelled
Publish Python Package / continuous-integration (3.11) (push) Has been cancelled
Publish Python Package / continuous-integration (3.12) (push) Has been cancelled
Publish Python Package / continuous-integration (3.13) (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
2025-05-08 12:32:47 +02:00
KatKatKateryna
95de5cbb30
Introducing Text class ( #419 )
...
Publish Python Package / continuous-integration (3.10) (push) Has been cancelled
Publish Python Package / continuous-integration (3.11) (push) Has been cancelled
Publish Python Package / continuous-integration (3.12) (push) Has been cancelled
Publish Python Package / continuous-integration (3.13) (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
* add text class and tests
* formatting
* fix default values
* comments
* comment
* sort imports
* import alignments
* compare properties, not Base objects
* revert irrelevant changes
* tests
* use correct fixture
* fix tests property
2025-05-06 10:12:29 +01:00
KatKatKateryna
5f56818d63
remove print statement ( #418 )
2025-05-05 19:03:33 +01:00
Jedd Morgan
825097e1a6
Oops ( #417 )
Publish Python Package / continuous-integration (3.10) (push) Has been cancelled
Publish Python Package / continuous-integration (3.11) (push) Has been cancelled
Publish Python Package / continuous-integration (3.12) (push) Has been cancelled
Publish Python Package / continuous-integration (3.13) (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
2025-05-01 22:04:46 +02:00
Jedd Morgan
d3ab26240a
fix(ap): fix mistake in workspace get response handling ( #416 )
...
* Corrected broken workspace query
* And one more!
* Fixed mistake in workspace get
2025-05-01 19:57:44 +00:00
Jedd Morgan
ce6be1a98e
fic(api): Fix mistake in workspace queries ( #415 )
...
Publish Python Package / continuous-integration (3.10) (push) Has been cancelled
Publish Python Package / continuous-integration (3.11) (push) Has been cancelled
Publish Python Package / continuous-integration (3.12) (push) Has been cancelled
Publish Python Package / continuous-integration (3.13) (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
* Corrected broken workspace query
* And one more!
2025-05-01 07:06:33 +00:00
Jedd Morgan
213e73dfdd
Corrected broken workspace query ( #414 )
Publish Python Package / continuous-integration (3.10) (push) Has been cancelled
Publish Python Package / continuous-integration (3.11) (push) Has been cancelled
Publish Python Package / continuous-integration (3.12) (push) Has been cancelled
Publish Python Package / continuous-integration (3.13) (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
2025-04-30 17:10:17 +00:00
Jedd Morgan
15129df7ce
More tweaks ( #413 )
...
Publish Python Package / continuous-integration (3.10) (push) Has been cancelled
Publish Python Package / continuous-integration (3.11) (push) Has been cancelled
Publish Python Package / continuous-integration (3.12) (push) Has been cancelled
Publish Python Package / continuous-integration (3.13) (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
* More tweaks
* WIP on v3-dev
* Add creation state
* format
2025-04-30 18:16:17 +02:00
Jedd Morgan
88519ce8b0
fix schema ( #412 )
Publish Python Package / continuous-integration (3.10) (push) Has been cancelled
Publish Python Package / continuous-integration (3.11) (push) Has been cancelled
Publish Python Package / continuous-integration (3.12) (push) Has been cancelled
Publish Python Package / continuous-integration (3.13) (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
2025-04-29 13:08:26 +00:00
Jedd Morgan
d4f94450a5
Correct filter serialization ( #411 )
2025-04-29 09:50:07 +00:00
Jedd Morgan
4c46201526
Jedd/cnx 1660 add workspace resources to specklepy ( #409 )
...
* Added workspace client queries
* Enable tests
2025-04-29 11:46:13 +02:00
Jedd Morgan
75b064b3c7
Allow null version id ( #410 )
2025-04-28 19:57:09 +02:00
Jedd Morgan
1198f2e2ad
Feat(objects): Added Vertex Normals to Mesh ( #404 )
...
* Mesh vertex normals
* Moved tests
* test curve
2025-04-25 14:39:04 +00:00
Jedd Morgan
7ab787bfb1
fic(ci): Change trigger to use branhc ( #408 )
...
Publish Python Package / continuous-integration (3.10) (push) Has been cancelled
Publish Python Package / continuous-integration (3.11) (push) Has been cancelled
Publish Python Package / continuous-integration (3.12) (push) Has been cancelled
Publish Python Package / continuous-integration (3.13) (push) Has been cancelled
Publish Python Package / Build and Publish Python Package (push) Has been cancelled
* Invert check
* empty
2025-04-23 17:03:42 +01:00
Jedd Morgan
bbbf373b50
replaced env with correct boolean check ( #407 )
2025-04-23 16:51:09 +01:00
Dogukan Karatas
f34e4a2874
updates publish.yml ( #406 )
2025-04-23 17:28:02 +02:00
Dogukan Karatas
45ebc375ad
feat(specklepy): update github actions ( #405 )
...
* updates publish.yml
* added the secrets
* update publish.yml
* updates workflow
* updates workflows
* Update github-action.yml
* updates github action
* updates docker-compose and deletes .devcontainer
* disables pytests
* changes the localhost
* rollback - comment out the tests
* updates the ci pipeline
---------
Co-authored-by: KatKatKateryna <89912278+KatKatKateryna@users.noreply.github.com >
2025-04-23 17:11:31 +02:00
Dogukan Karatas
4c41fa79fc
feat(specklepy): publish to pypi ( #396 )
...
* updates publish.yml
* added the secrets
* update publish.yml
* updates workflow
* updates workflows
* Update github-action.yml
* updates github action
* updates docker-compose and deletes .devcontainer
* disables pytests
* changes the localhost
* rollback - comment out the tests
---------
Co-authored-by: KatKatKateryna <89912278+KatKatKateryna@users.noreply.github.com >
2025-04-23 16:51:39 +02:00
Jedd Morgan
0aa14ca077
Publish to testpypi every push ( #403 )
2025-04-22 14:31:18 +01:00
Jedd Morgan
6bfdf8850c
Update publish.yml ( #402 )
2025-04-22 14:25:41 +01:00
KatKatKateryna
22ecd2c2b3
dont ignore props ( #401 )
2025-04-22 13:43:58 +01:00
Dogukan Karatas
f7f9f73e7b
feat(specklepy): curve object class ( #400 )
...
* adds curve class
2025-04-11 14:09:39 +02:00
Gergő Jedlicska
a7bada391b
Merge pull request #398 from specklesystems/gergo/nostringcase
...
gergo/nostringcase
2025-04-01 11:53:03 +02:00
Gergő Jedlicska
81ff5d82cb
Merge pull request #399 from specklesystems/Skip-Circle-Ci
...
Update config.yml
2025-04-01 11:52:28 +02:00
Jedd Morgan
d25edbb3d7
Update config.yml
2025-04-01 10:28:34 +01:00
Gergő Jedlicska
7dedff68f4
Merge branch 'v3-dev' of github.com:specklesystems/specklepy into gergo/nostringcase
2025-03-27 15:50:28 +01:00
Gergő Jedlicska
12b9602577
Merge pull request #397 from specklesystems/gergo/nostringcase
...
chore: remove stringcase as a dependency
2025-03-27 15:27:06 +01:00
Gergő Jedlicska
d6e31a9752
chore: fix compose file
2025-03-27 15:19:25 +01:00
Gergő Jedlicska
09c61424d7
tests: update some tests with new server standards
2025-03-27 13:56:19 +01:00
Gergő Jedlicska
e9bdf0ceb8
chore: update poetry lock
2025-03-24 20:22:03 +01:00
Gergő Jedlicska
7e6174ebc1
chore: remove stringcase as a dependency
2025-03-24 19:47:07 +01:00
Gergő Jedlicska
b8ae3ca8c8
Merge pull request #395 from specklesystems/dogukan/override-limited-user-repr
...
fix (specklepy): removes avatar in version string representation
2025-03-17 18:31:58 +01:00
Dogukan Karatas
d690c45b35
overrides repr
2025-03-17 15:37:13 +01:00
KatKatKateryna
5d3a824986
add region class and tests ( #393 )
...
* add region class and tests
* syntax
* export class
* typos
2025-03-17 19:32:57 +08:00
Dogukan Karatas
6f56ecb0c0
fix syntax ( #392 )
2025-03-11 11:40:25 +01:00
Gergő Jedlicska
ef5a570dd4
fix main publish url
2025-02-26 12:17:10 +01:00
KatKatKateryna
424d7d9caf
fixed speckle_types for proxies ( #388 )
2025-02-26 07:20:01 +08:00
Gergő Jedlicska
6aa643837a
Merge pull request #387 from specklesystems/jrm/fix-docker-compose
...
fic(ci): docker compose file missing frontend origin env var
2025-02-19 18:35:34 +01:00
Jedd Morgan
32cbb33e10
Add Frontend origin header
2025-02-19 17:04:30 +00:00
Jedd Morgan
51ae6f5978
Fixed __rep__ on mesh ( #386 )
2025-02-18 17:03:34 +01:00
Dogukan Karatas
b64dde152a
adds rendermaterial and rendermaterialproxy ( #385 )
2025-02-18 17:03:08 +01:00
Jedd Morgan
d1b6755997
Removes all FE1 client functions ( #380 )
...
* Removes all FE1 client functions
* Removed usages of deprecated client functions
* removed trailing deprecated client function
* ruff
* Fixed last failing test
2025-02-18 15:32:14 +00:00
Gergő Jedlicska
da6e2d92e0
Merge pull request #384 from specklesystems/jedd/cxpla-167-update-python-automate-sdk-to-use-fe2-api
...
Update Automate to use FE2 API
2025-02-18 15:55:28 +01:00
Jedd Morgan
37e9c2372f
last tweaks
2025-02-18 13:42:42 +00:00
Jedd Morgan
a620a358d3
Fixes
2025-02-18 13:03:19 +00:00
Jedd Morgan
fd46fbd961
Updated functions
2025-02-18 11:47:41 +00:00
Jedd Morgan
732f28e653
Added alias config for graphql model
2025-02-13 16:10:11 +00:00
Jedd Morgan
7671998541
Updated version create to return a full Version
2025-02-13 12:40:45 +00:00
Jedd Morgan
cab9674803
Updated Automate SDK to use new GraphQL functions
2025-02-13 12:33:59 +00:00
Gergő Jedlicska
6c33c61a6d
Merge pull request #382 from specklesystems/gergo/fixServerTransportHeader
...
fix: server transport always accept text/plain
2025-02-12 13:03:00 +01:00
Gergő Jedlicska
71afb1275f
fix: server transport always accept text/plain
2025-02-12 12:35:11 +01:00
Dogukan Karatas
1b53410a86
Merge pull request #379 from specklesystems/dogukan/additional_geometry_classes
...
feat(specklepy): additional geometry classes
2025-02-10 15:54:04 +01:00
Dogukan Karatas
1ba6983573
ignore formatting on automate context
2025-02-10 15:07:29 +01:00
Dogukan Karatas
d5a36fa5e3
rebased with v3-dev
2025-02-10 14:42:48 +01:00
Dogukan Karatas
b6e47fb820
psuedo-commit
2025-02-10 10:48:59 +01:00
Gergő Jedlicska
06e21154c4
chore: partially fix linting
2025-02-08 15:42:54 +01:00
Gergő Jedlicska
adc0c40ab7
only run publish once tests finished
2025-02-08 15:37:26 +01:00
Gergő Jedlicska
a44bb92ec4
run tests to protect v3-dev
2025-02-08 15:26:20 +01:00
Gergő Jedlicska
bd98244869
use test environment
2025-02-08 15:18:20 +01:00
Gergő Jedlicska
2acfa48b98
publish to test pypi
2025-02-08 15:13:46 +01:00
Gergő Jedlicska
a0283b6048
change to hatchling for build backend
2025-02-08 14:21:11 +01:00
Gergő Jedlicska
0e771a68b8
trying dynamic versioning
2025-02-08 13:01:46 +01:00
Gergő Jedlicska
838f9d4969
fix: add empty license files tag
2025-02-07 09:47:09 +01:00
Gergő Jedlicska
88b17db901
re-lock
2025-02-07 09:09:55 +01:00
Dogukan Karatas
f98c804094
removes abstractmethod implementations
2025-02-05 15:31:25 +01:00
Dogukan Karatas
0382c246b8
adds type hint to point cloud
2025-02-03 12:52:51 +01:00
Dogukan Karatas
0b38fb5a2a
updates control point
2025-02-03 12:48:46 +01:00
Jedd Morgan
405972f681
Added newer DefaultTraversal rules to align with V3 sharp connectors ( #367 )
...
* First Pass
* Updated traversal
---------
Co-authored-by: KatKatKateryna <89912278+KatKatKateryna@users.noreply.github.com >
2025-02-03 10:41:13 +00:00
Dogukan Karatas
ff686b4361
formatted
2025-01-29 14:54:03 +01:00
Dogukan Karatas
7857451ec9
adds missing geometries
2025-01-28 15:30:19 +01:00
KatKatKateryna
0fbfff54d4
adding data object and QgisObjects and interface ( #372 )
...
* adding data object and QgisObjects and interface
* new classes
* python 3.9 typing
* rename file
2025-01-25 00:08:48 +08:00
Jedd Morgan
826dadc8c8
Merge pull request #378 from specklesystems/main
...
Main -> v3Dev
2025-01-24 14:53:33 +00:00
Dogukan Karatas
b9e4ee2b23
Merge pull request #375 from specklesystems/dogukan/test_migration
...
fix: migration of existing tests
2025-01-24 15:34:54 +01:00
Chuck Driesler
78c55b787f
chore(automate): improve error message when automate fails to receive a model version ( #376 )
...
Co-authored-by: Björn Steinhagen <steinhagen.bjoern@gmail.com >
2025-01-24 11:28:15 +00:00
Jedd Morgan
34f2dc2ab6
author now optional ( #377 )
2025-01-24 11:01:09 +00:00
Jedd Morgan
a658e12cda
Merge branch 'v3-dev' into dogukan/test_migration
2025-01-23 16:04:32 +00:00
Dogukan Karatas
85aa938fc2
Merge pull request #373 from specklesystems/dogukan/cnx-1006-add-missing-geometry-objects
...
feat: geometry objects with new structure
2025-01-23 17:01:37 +01:00
Dogukan Karatas
010fb83ea6
updated tests
2025-01-23 16:32:59 +01:00
Dogukan Karatas
7a291ce2f6
migrates tests
2025-01-23 15:51:34 +01:00
Dogukan Karatas
989c975c86
updated objects
2025-01-23 15:49:00 +01:00
Dogukan Karatas
516eff4d8b
helper classes added
2025-01-23 14:30:09 +01:00
Dogukan Karatas
0650210601
removed re-export the objects
2025-01-22 14:11:51 +01:00
Dogukan Karatas
b0b8140363
formatted
2025-01-22 13:17:19 +01:00
Dogukan Karatas
d25f30b20d
Merge branch 'v3-dev' into dogukan/cnx-1006-add-missing-geometry-objects
2025-01-22 11:43:13 +01:00
Dogukan Karatas
b4e2f37b7f
Merge pull request #374 from specklesystems/gergo/uvSetup
...
gergo/uvSetup
2025-01-22 10:49:17 +01:00
Dogukan Karatas
b7ba2196f3
update uv.lock
2025-01-21 19:41:57 +01:00
Gergő Jedlicska
17cbcc38ba
chore: just an echo of circleci
2025-01-21 12:58:51 +01:00
Gergő Jedlicska
9afb2c5c1c
chore: add back and empty circleci config
2025-01-21 12:56:44 +01:00
Gergő Jedlicska
eb13c9bc70
chore: remove stuff to please the ci gods
2025-01-21 12:50:58 +01:00
Dogukan Karatas
a33588f3af
makes it minimal
2025-01-21 12:48:52 +01:00
Gergő Jedlicska
970cf62e50
feat: add codecov upload
2025-01-20 21:36:12 +01:00
Gergő Jedlicska
513594c49f
feat: run tests
2025-01-20 21:27:13 +01:00
Gergő Jedlicska
37c8e6dfb1
ci: run server in ci
2025-01-20 21:24:38 +01:00
Gergő Jedlicska
3859a88c4b
chore: uv-lock use editable local package
2025-01-20 21:15:57 +01:00
Gergő Jedlicska
dfa8fc99d9
docs: change readme to reference uv
2025-01-20 21:15:35 +01:00
Gergő Jedlicska
ee97f3b718
chore: cleanup
2025-01-19 21:30:22 +01:00
Gergő Jedlicska
e0b48f6123
feat: use dynamic version magic
2025-01-19 21:12:22 +01:00
Gergő Jedlicska
6fb6418d16
fix: checkout, duh...
2025-01-19 20:59:52 +01:00
Gergő Jedlicska
ce104adb50
feat: add publish workflow
2025-01-19 20:58:26 +01:00
Gergő Jedlicska
fe0a8eb9f5
chore: do not run on pr-s just yet
2025-01-19 20:28:39 +01:00
Gergő Jedlicska
6279dd3885
chore: update pre-commit repo to new version
2025-01-19 20:26:45 +01:00
Gergő Jedlicska
811c5843a9
chore: fix ruff import formatting
2025-01-19 20:23:21 +01:00
Gergő Jedlicska
035cd089e2
fix: missing ruff dev dependency added to project
2025-01-19 20:18:52 +01:00
Gergő Jedlicska
6daef049bb
feat: run pre-commit in CI
2025-01-19 20:17:02 +01:00
Gergő Jedlicska
d526c8ce3e
feat: add github actions workflow
2025-01-19 20:09:06 +01:00
Gergő Jedlicska
4c91032718
chore: test fix WIP
2025-01-19 16:20:31 +01:00
Gergő Jedlicska
ffb80457bc
chore: fix all ruff issues
2025-01-19 16:13:21 +01:00
Gergő Jedlicska
d380e6eaf8
chore: run ruff format
2025-01-19 15:18:40 +01:00
Gergő Jedlicska
ace7c390c1
chore: run ruff format
2025-01-19 15:15:13 +01:00
Gergő Jedlicska
c052dfad46
chore: run ruff format
2025-01-19 15:12:30 +01:00
Gergő Jedlicska
66802726b9
chore: run ruff format
2025-01-19 15:11:58 +01:00
Gergő Jedlicska
b8f4150fb7
chore: set up uv as a project and package manager
2025-01-19 14:41:37 +01:00
Dogukan Karatas
255133010f
updated mesh
2025-01-16 10:12:18 +01:00
Dogukan Karatas
aea9bb3e1d
caches precalculated values
2025-01-15 16:42:25 +01:00
Dogukan Karatas
5ca5334730
adds vertices check
2025-01-15 16:34:20 +01:00
Dogukan Karatas
ba5f40a749
added area and volume calculation for meshes
2025-01-15 16:28:39 +01:00
Dogukan Karatas
04fc0fa715
to_list and from_list updated
2025-01-15 15:40:32 +01:00
Dogukan Karatas
2e80646d2c
splitting tests
2025-01-14 14:38:48 +01:00
Dogukan Karatas
fe6c18e97b
adds docstrings
2025-01-14 10:28:59 +01:00
Dogukan Karatas
7c9058172f
adds unit tests
2025-01-14 10:25:23 +01:00
Dogukan Karatas
a82187589f
added tests
2025-01-13 16:52:35 +01:00
Dogukan Karatas
d811b010ff
added missing geometries
2025-01-13 15:01:15 +01:00
Dogukan Karatas
e1e5d9dbb6
feat(v-3): QGIS essentials ( #369 )
...
* adds qgis essentials
* moves intances under proxies
* remove defaults
* formatting
2025-01-07 17:38:06 +08:00
Gergő Jedlicska
b17423b282
Merge pull request #366 from specklesystems/dogu/v3_objects
...
Object model v3 poc
2024-12-12 16:45:52 +01:00
Gergő Jedlicska
166b0f5e87
Merge branch 'v3-dev' of github.com:specklesystems/specklepy into dogu/v3_objects
2024-12-12 16:44:19 +01:00
Gergő Jedlicska
cac34120a9
feat(v3_objects): migrate to full dataclass base objects
2024-12-12 16:41:31 +01:00
Gergő Jedlicska
55c4c68cf3
feat(base): use dataclass for base too
2024-12-12 16:34:42 +01:00
Dogukan Karatas
be850d5ea9
updates interface
2024-12-12 15:25:09 +01:00
Dogukan Karatas
c9a5badac1
implements IHasUnits
2024-12-11 14:55:00 +01:00
Gergő Jedlicska
118fa07e37
Merge branch 'main' of github.com:specklesystems/specklepy into v3-dev
2024-12-11 14:23:53 +01:00
Gergő Jedlicska
d71b616e2b
Merge pull request #363 from specklesystems/jrm/filter-tests
...
Added tests for filters
2024-12-11 14:21:54 +01:00
Jedd Morgan
35750f12c5
Merge branch 'main' into jrm/filter-tests
2024-12-11 13:05:18 +00:00
Dogukan Karatas
5730cdcb43
updates geometry classes
2024-12-11 14:04:24 +01:00
Jedd Morgan
82b6dbbe78
isort
2024-12-11 12:09:56 +00:00
Jedd Morgan
883be4b27b
reexport inputs
2024-12-11 12:07:37 +00:00
Dogukan Karatas
37e2711a76
adds new object poc
2024-12-10 16:46:05 +01:00
Gergő Jedlicska
8dcc67fb31
Merge pull request #365 from specklesystems/jedd/cxpla-132-update-connectors-usage-of-user-queries-to-use-activeuser
...
updated active user streams
2024-12-10 15:57:04 +01:00
Jedd Morgan
ed84820995
fix
2024-12-10 14:27:19 +00:00
Jedd Morgan
5c3dcb7bc0
updated active user streams
2024-12-10 14:14:31 +00:00
Gergő Jedlicska
92732e3c76
Merge pull request #364 from specklesystems/gergo/objectV3
...
gergo/objectV3
2024-12-10 15:04:19 +01:00
Gergő Jedlicska
903951547d
chore(launchConfig): remove pytests args
2024-12-10 15:01:02 +01:00
Gergő Jedlicska
82c3dc9ffb
feat(objects): collections and more
2024-12-09 14:29:01 +01:00
Gergő Jedlicska
a0e10aae99
Merge pull request #362 from specklesystems/jrm/deps
...
Updated dependencies
2024-12-09 12:26:56 +01:00
Jedd Morgan
bbea2a0d76
Aligned pre-commit-hooks
2024-12-09 11:24:38 +00:00
Jedd Morgan
a05ac3479b
Black reformat
2024-12-09 11:17:26 +00:00
Jedd Morgan
0bd972945e
update dependencies
2024-12-09 11:14:54 +00:00
Jedd Morgan
f200544065
Moved UserProjectsFilter to UserInputs
2024-12-09 10:58:31 +00:00
Jedd Morgan
68ce9823ae
added filter tests
2024-12-09 10:56:17 +00:00
Mucahit Bilal GOKER
a920352407
fix(api): rename 'onlyWithRole' to 'onlyWithRoles' in UserProjectsFilter ( #361 )
2024-12-06 15:53:10 +00:00
Dogukan Karatas
24bfb6718e
adds performance tests
2024-12-06 14:25:07 +01:00
Gergő Jedlicska
e63f4b8636
wip rework serialization for new object model
2024-12-06 10:53:05 +01:00
Gergő Jedlicska
47c6bd89af
wip re-base
2024-12-06 09:46:05 +01:00
Chuck Driesler
bd38dfacc7
fix(automate): include project id in run reporting ( #356 )
2024-11-26 14:48:43 +00:00
Chuck Driesler
281483f0fc
fix(automate): add success result case ( #355 )
2024-11-21 12:07:48 +00:00
Jedd Morgan
932838de8f
Revert collection speckle_type change ( #354 )
...
* revert collection speckle_type change
* black
2024-11-18 10:57:52 +00:00
Gergő Jedlicska
a0b39e4c64
Merge pull request #353 from specklesystems/jrm/api-fix
...
Updated version mutation inputs
2024-11-13 12:49:49 +01:00
Jedd Morgan
759cd0ef58
Updated version mutation inputs
2024-11-13 10:46:59 +00:00
Claire Kuang
46c18bbe6b
Update README.md to align with main github page ( #352 )
2024-11-05 10:36:56 +00:00
KatKatKateryna
82d39e66fe
Collections namespace, clean PolygonGeometry class ( #351 )
...
* collections namespace change
* add all C# GIS classes, deprecate the rest
* deprecate GisPolygonGeometry properly
* typo
* add constructors
* add multipatch geometry and units
* reverse new classes
* typos
* formatting
* formatting
* optional collection name
* init fix
* pass applicationId if needed
* remove init - causing all classes inheriting also implement it
* remove init
2024-11-05 10:11:06 +00:00
Gergő Jedlicska
10f7499182
Merge pull request #348 from specklesystems/jedd/cxpla-95-add-fe2-queries-and-mutations-to-specklepy
...
FE2 API Updates
2024-11-04 18:20:54 +01:00
Jedd Morgan
170d2f0450
isort
2024-10-31 14:04:45 +00:00
Jedd Morgan
040a4e2553
fixed tests
2024-10-31 14:04:20 +00:00
Jedd Morgan
e978e4f632
Re-export deprecated resources and models
2024-10-31 13:58:44 +00:00
Jedd Morgan
eae60160a1
reverted changes to old subscription resource
2024-10-30 19:45:30 +00:00
Jedd Morgan
c78a780e85
Use the correct subscription resource in integration tests
2024-10-30 19:42:43 +00:00
Jedd Morgan
1b45f50697
removed dead code in client
2024-10-30 16:02:38 +00:00
Jedd Morgan
be8fae3b1c
removed unused subscription functions
2024-10-30 15:55:15 +00:00
Jedd Morgan
ab41d3cbe0
last fixes
2024-10-30 15:41:37 +00:00
Jedd Morgan
f843bb0c89
Fixed up client auth error handling
2024-10-30 14:32:30 +00:00
Jedd Morgan
b7933e0088
pre-commit stuff
2024-10-30 14:11:36 +00:00
Jedd Morgan
7e09d4f4ce
pr clean up
2024-10-30 14:10:55 +00:00
Jedd Morgan
bb62109332
Fixed subscription tests
2024-10-30 13:51:55 +00:00
Jedd Morgan
3642731f37
Wrapping up tests
2024-10-30 12:43:40 +00:00
Jedd Morgan
3bd849c815
imports
2024-10-28 17:29:23 +00:00
Jedd Morgan
2acf4c41c7
fixed tests
2024-10-28 11:24:46 +00:00
Jedd Morgan
6b6ff80bf2
Fixed issues
2024-10-28 11:02:08 +00:00
Jedd Morgan
0f1f00db00
Other user resource
2024-10-25 13:44:12 +01:00
Jedd Morgan
280927b720
active user update overloads
2024-10-25 12:09:26 +01:00
Jedd Morgan
6096cd25f6
project_invites
2024-10-25 11:30:37 +01:00
Jedd Morgan
cc004c8e6b
active user
2024-10-24 14:13:19 +01:00
Jedd Morgan
a10b2594d3
version resource
2024-10-22 16:34:46 +01:00
Jedd Morgan
976a52bdc8
models
2024-10-21 19:45:30 +01:00
Jedd Morgan
09ca501a74
project integration tests & pydantic serializaiton
2024-10-21 14:14:33 +01:00
Jedd Morgan
225d4f02d4
Merge remote-tracking branch 'origin/main' into jedd/cxpla-95-add-fe2-queries-and-mutations-to-specklepy
2024-10-21 12:25:51 +01:00
Gergő Jedlicska
f1b51848cf
Merge pull request #349 from specklesystems/jrm/fix-heath-checks
...
Updated docker compose
2024-10-21 13:23:57 +02:00
Jedd Morgan
08fb3f6cd7
updated docker compose to fe2
2024-10-21 12:16:26 +01:00
Jedd Morgan
fe7909c913
trailing whitespace
2024-10-21 11:40:50 +01:00
Jedd Morgan
a00e16929d
trailing return
2024-10-21 11:36:59 +01:00
Jedd Morgan
44d1ef9f93
re-added frontend service
2024-10-21 11:36:16 +01:00
Jedd Morgan
404dbd1d1e
Updated docker compose
2024-10-18 14:03:35 +01:00
Jedd Morgan
537a504121
removed unimplemented file
2024-10-18 14:02:09 +01:00
Jedd Morgan
6c03dc82c8
black + isort
2024-10-18 13:34:23 +01:00
Jedd Morgan
780126528d
Added project resource and fe2 models
2024-10-18 13:24:38 +01:00
Gergő Jedlicska
fe03d96ae2
Merge pull request #346 from specklesystems/charles/trailingSlash
...
fix(automate): remove extra slash
2024-08-11 13:31:17 +02:00
Charles Driesler
078a6c8da8
fix(automate): extra slash
2024-08-10 23:17:45 +01:00
Iain Sproat
905377dea1
feat(default domain): app.speckle.systems is now default over speckle.xyz ( #343 )
...
- also updates the example email domain to use the IANA owned example domain instead of a production or random domain
2024-07-18 17:19:32 +02:00
Gergő Jedlicska
62c5114cb3
Merge pull request #341 from specklesystems/gergo/fixtures_no_init
...
fix: remove fixtures from automate exports
2024-06-07 18:53:20 +02:00
Gergő Jedlicska
43a5302a90
fix: tures
2024-06-07 18:51:03 +02:00
Gergő Jedlicska
addaa996ea
fix: remove fixtures from automate exports
2024-06-07 18:42:19 +02:00
Gergő Jedlicska
3b5421a5bc
Merge pull request #340 from specklesystems/gergo/automateExceptionOutcome
...
feat: add excetion outcome reporting to functions
2024-06-07 15:29:40 +02:00
Gergő Jedlicska
88e8c86fa6
feat: add excetion outcome reporting to functions
2024-06-07 11:13:15 +02:00
Chuck Driesler
d6843b9971
Merge pull request #339 from specklesystems/chuck/testAutomationHelpers
...
WEB-1053 Create helpers for testing automate functions
2024-06-06 12:03:00 +01:00
Charles Driesler
302a9f7f30
repair import
2024-06-06 12:01:00 +01:00
Charles Driesler
ede9591c6a
export fixtures
2024-06-06 11:58:18 +01:00
Charles Driesler
c5b339d891
deps deps deps
2024-06-05 16:59:05 +01:00
Charles Driesler
2e35fb9e5c
create helpers for testing functions
2024-06-05 16:38:49 +01:00
Gergő Jedlicska
e6b822b0e3
Merge pull request #338 from specklesystems/gergo/automateExitCode
...
fix(automate): make sure we exit with code 0 if execution completes
2024-06-03 16:08:28 +02:00
Gergő Jedlicska
239bc4b5b9
docs(automate): finish comment block thoughts
2024-06-03 14:29:29 +02:00
Gergő Jedlicska
4eea15ddc1
fix(automate): make sure we exit with code 0 if execution completes
2024-06-03 14:27:07 +02:00
Aleksei Protopopov
204aa7466e
Feature: adds connection_timeout argument to SpeckleClient ( #337 )
...
* Add connection_timeout argument to SpeckleClient
* Reformat code with black
* Set default timeout to 10s
* Make connection retries configurable
2024-05-27 14:23:39 +01:00
Gergő Jedlicska
24019e99f3
Merge pull request #335 from specklesystems/gergo/automateInterfaceRework
...
Rework automate SDK for the integrated automate api
2024-05-16 18:14:47 +02:00
Gergő Jedlicska
64492fafa5
fix: proper pytest skip
2024-05-16 17:24:53 +02:00
Gergő Jedlicska
3a8d634989
test: disable automation tests for now
2024-05-16 17:18:57 +02:00
Gergő Jedlicska
f27650af3a
feat: update automation schema and automation context for the new automate interfaces
2024-05-16 10:25:58 +02:00
KatKatKateryna
6469b6f757
Merge pull request #334 from specklesystems/jsdb/doc-strings-patch
...
Corrects and enhances user API class documentation (CNX-9172)
2024-03-28 23:42:09 +08:00
KatKatKateryna
b28db0881c
formatting
2024-03-28 16:22:21 +01:00
Jonathon Broughton
b0b442de23
fix poetry in dockerfile
2024-03-28 14:48:34 +00:00
Jonathon Broughton
32d2fe8ead
Merge branch 'main' into jsdb/doc-strings-patch
2024-03-26 12:48:45 +00:00
Jonathon Broughton
9fd40eac23
Update other_user.py
2024-03-26 12:43:14 +00:00
Benjamin Ottensten
b22ba1f1f1
Update web app link in the README ( #333 )
2024-03-26 12:39:59 +00:00
Jonathon Broughton
5e20fe7bf1
Corrected/updated docstrings for method signatures
2024-03-26 11:06:35 +00:00
Jedd Morgan
6da5da23c4
feat(core): [CNX-9108] Added server migration support ( #331 )
...
* Added server migration support
* fix obvious mistake
* Fixed slightly less obvious mistake
* Run black
* isort
2024-03-25 11:15:41 +00:00
Gergő Jedlicska
1b59f0b026
feat: fix authenticate with token mechanism ( #330 )
2024-02-26 16:30:28 +00:00
Jedd Morgan
78123936d2
Merge pull request #329 from specklesystems/jrm/spirals-fix
...
fix(objects): [CNX-9014] Fixed issue with Spiral turns not deserializing in SpecklePy
2024-02-19 13:05:38 +00:00
Jedd Morgan
dbc1aefed3
Fixed issue with Spiral turns not deserializing in SpecklePy
2024-02-19 12:41:35 +00:00
Gergő Jedlicska
e726345b0c
Merge pull request #328 from mortenengen/fix-gis-dict-type
...
fix: dict type of renderer in Layer
2024-02-13 08:30:48 +01:00
Morten Engen
e074dbcced
gis/layers: fix dict type of renderer in Layer
2024-02-12 20:54:38 +01:00
Gergő Jedlicska
62e342b2cb
Merge pull request #302 from specklesystems/gergo/objects_init
...
fix: object initialization
2024-02-12 17:38:04 +01:00
Gergő Jedlicska
804dd37639
Merge branch 'main' into gergo/objects_init
2024-02-12 17:30:03 +01:00
Gergő Jedlicska
64b61f54f5
Merge pull request #322 from specklesystems/kate-2.17-hotfix
...
.url attribute was used before assignment; assign account to unauthen…
2024-02-12 17:29:50 +01:00
KatKatKateryna
58789ab234
undo
2024-02-12 15:33:21 +00:00
KatKatKateryna
2696fb74ba
raise instream of returning Exception
2024-02-12 15:30:00 +00:00
KatKatKateryna
57e176af91
typo
2024-02-12 15:23:37 +00:00
KatKatKateryna
437483641c
extra test
2024-02-12 15:23:01 +00:00
KatKatKateryna
1e971b57c3
formatting
2024-02-12 15:14:10 +00:00
KatKatKateryna
f04be12ec8
formatting
2024-02-12 15:11:11 +00:00
KatKatKateryna
51242928ca
remove circular import
2024-02-12 14:56:47 +00:00
KatKatKateryna
77b3be9145
formatting
2024-02-12 14:52:31 +00:00
KatKatKateryna
cc5abdf9cb
Merge branch 'main' into kate-2.17-hotfix
2024-02-12 13:52:34 +00:00
KatKatKateryna
4eca5144a8
unused import
2024-02-12 13:52:29 +00:00
KatKatKateryna
8589663049
don't get default account
2024-02-12 13:47:24 +00:00
KatKatKateryna
956f72dd6a
formatting
2024-02-12 13:09:09 +00:00
KatKatKateryna
a2daa68c1c
Merge branch 'main' into gergo/objects_init
2024-02-12 13:00:00 +00:00
Gergő Jedlicska
d60feb73a2
Merge pull request #259 from specklesystems/kate/branch_create_fix
...
gql minimum characters restriction for consistent behavior with frontend
2024-02-12 13:42:32 +01:00
KatKatKateryna
a0ca10ad20
add to_string; add cases for object url in fe2 ( #327 )
...
* add to_string; add cases for object url in fe2
* cover exceptions
* add federated model exception, reorder conditions
* formatting
* reformatting
* update black formatter
* resolving dependencies
2024-02-09 18:35:20 +01:00
Gergő Jedlicska
f6118f3336
Merge pull request #326 from specklesystems/isFrontend2
...
add frontend2 property to ServerInfo
2024-02-05 13:25:33 +01:00
KatKatKateryna
c7cd2f3e91
test
2024-02-05 11:23:22 +00:00
KatKatKateryna
b374bfefd0
reorder import
2024-02-05 11:17:51 +00:00
KatKatKateryna
d716db251f
add frontend2 property to ServerInfo
2024-02-05 10:40:13 +00:00
Gergő Jedlicska
6d7e7c5c4b
Merge pull request #324 from specklesystems/gergo/expose_ssl_verification
...
Update client.py
2023-12-15 16:15:45 +01:00
Gergő Jedlicska
7dcd9288ca
Merge branch 'main' into gergo/expose_ssl_verification
2023-12-15 11:19:09 +01:00
Jedd Morgan
7d99f48def
Merge pull request #323 from specklesystems/gergo/init_subclass_fix
...
fix: CNX-8350 remove unnecessary kwargs from init subclass call chain
2023-12-14 14:46:40 +00:00
Jedd Morgan
4332a8faef
Merge branch 'main' into gergo/init_subclass_fix
2023-12-14 14:44:13 +00:00
Gergő Jedlicska
a1aee8b3fa
Merge pull request #325 from specklesystems/gergo/file_based_automate_function_inputs
...
feat: read automation function inputs from file
2023-12-13 15:16:59 +01:00
Gergő Jedlicska
deb8ad50c5
fix: client certificate verification
2023-12-11 17:34:26 +01:00
Gergő Jedlicska
558b25b1d1
feat: read automation function inputs from file
2023-12-11 17:30:08 +01:00
Gergő Jedlicska
4db0fa69fa
Update client.py
2023-12-11 17:15:07 +01:00
Gergő Jedlicska
1eca211c96
fix: remove debug print statement
2023-12-06 11:50:07 +01:00
Gergő Jedlicska
f65173581a
fix: pre-commit config
2023-12-05 16:07:23 +01:00
Gergő Jedlicska
223c776c63
fix: remove unnecessary kwargs from init subclass call chain
2023-12-05 15:03:25 +01:00
KatKatKateryna
ccccc53f59
.url attribute was used before assignment; assign account to unauthenticated client to get token
2023-12-05 05:21:28 +08:00
Gergő Jedlicska
ae6fc85ab4
Merge pull request #320 from specklesystems/iain/configurable-certificate-verification
...
feat(client): configurable certificate verification
2023-11-27 14:36:28 +01:00
Gergő Jedlicska
7ad0785c62
chore: reformat
2023-11-27 14:33:31 +01:00
Gergő Jedlicska
76e4ec1535
Merge branch 'main' into iain/configurable-certificate-verification
2023-11-27 14:30:42 +01:00
Gergő Jedlicska
4e96aade51
Merge pull request #321 from specklesystems/iain/circleci-pre-commit
...
ci(pre-commit): add a pre-commit job to CI
2023-11-27 14:30:24 +01:00
Gergő Jedlicska
7ca00b7b77
chore: fix unused import
2023-11-27 14:27:09 +01:00
Gergő Jedlicska
bddf9c0c1c
chore: fix imports
2023-11-27 14:24:45 +01:00
Gergő Jedlicska
bf3ab7da4c
chore: reorder imports
2023-11-27 12:22:33 +01:00
Gergő Jedlicska
4dc148181e
chore: reformat
2023-11-27 12:21:26 +01:00
Iain Sproat
357859288d
chore(pre-commit autoupdate): install latest packages to prevent build errors
2023-11-24 16:41:47 +00:00
Iain Sproat
1ce61bdda8
ci(pre-commit): add a pre-commit job to CI
2023-11-24 16:37:51 +00:00
Iain Sproat
42737c4ed2
feat(client): configurable certificate verification
2023-11-24 15:52:30 +00:00
Gergő Jedlicska
62ee1a4b0a
Merge pull request #319 from specklesystems/gergo/automate_report_logging
...
Gergo/automate report logging
2023-11-14 16:26:18 +01:00
Gergő Jedlicska
d21373873c
Merge branch 'main' into gergo/automate_report_logging
2023-11-14 16:23:25 +01:00
Gergő Jedlicska
e3716f6206
feat: log reported run status
2023-11-14 16:23:10 +01:00
Gergő Jedlicska
f6917b0761
Merge pull request #318 from specklesystems/gergo/markLogs
...
feat: reduce log message context for object results
2023-11-13 11:39:49 +01:00
Gergő Jedlicska
04764b17eb
feat: reduce log message context for object results
2023-11-13 09:14:06 +01:00
Gergő Jedlicska
dbe3d759f6
Merge pull request #317 from specklesystems/KatKatKateryna-patch-1
...
handle "append" with incoming type "list"
2023-11-13 09:09:23 +01:00
KatKatKateryna
f6ff484e66
handle "append" with incoming type "list"
2023-11-13 04:53:03 +08:00
Gergő Jedlicska
bd000395af
Merge pull request #316 from specklesystems/gergo/contextViewFix
...
fix: report relative url for context view
2023-11-11 08:32:40 +01:00
Gergő Jedlicska
10f49579fd
fix: report relative url for context view
2023-11-11 08:29:16 +01:00
Gergő Jedlicska
1693465dfc
Merge pull request #314 from specklesystems/kate/stream_wrapper_fe2
...
update stream wrapper; add tests
2023-11-10 15:15:12 +01:00
Gergő Jedlicska
c3a7ead8f5
Merge branch 'main' into kate/stream_wrapper_fe2
2023-11-10 15:11:28 +01:00
Gergő Jedlicska
d151a8d0ae
Merge pull request #315 from specklesystems/jrm/minio/fix
...
Pinned MinIO version for integration test docker compose
2023-11-10 15:06:14 +01:00
Gergő Jedlicska
c0dd88cbdb
fix: pin minio release to fix tests
2023-11-10 15:04:30 +01:00
Jedd Morgan
71d3589e72
pinned MinIO version for integration test docker compose
2023-11-10 13:54:02 +00:00
KatKatKateryna
5bde1bc2d6
remove library
2023-11-09 17:36:06 +00:00
KatKatKateryna
75e6f0229a
update stream wrapper; add tests
2023-11-09 17:34:57 +00:00
Gergő Jedlicska
5d7e71f357
Merge pull request #313 from specklesystems/oguzhan/text-object
...
Chore (Objects): Add text object definition
2023-10-30 12:37:02 +01:00
oguzhankoral
6c223b6fb3
Exclude displayStyle from Text object
...
It shouldn't be have displayStyle for general purpose Text object, because displayStyle more Rhino and AutoCAD specific
2023-10-30 14:07:36 +03:00
oguzhankoral
e6131a7956
Fix typo on type of displayValue
2023-10-30 11:51:15 +03:00
oguzhankoral
45b50e4f26
Add optional props of Objects.Other.Text
2023-10-30 11:42:30 +03:00
oguzhankoral
d9b92490ec
Add text object definition
2023-10-27 16:33:02 +03:00
Gergő Jedlicska
37c09fa56c
Merge pull request #311 from specklesystems/gergo/contextView
...
fix: automate sdk context view is a realative url
2023-10-26 15:38:50 +02:00
Gergő Jedlicska
cbae4d300d
Merge branch 'main' into gergo/contextView
2023-10-26 15:36:30 +02:00
Gergő Jedlicska
2742c12e31
fix: automate sdk context view is a realative url
2023-10-26 15:35:39 +02:00
Gergő Jedlicska
6dd0813089
Merge pull request #310 from specklesystems/gergo/contextView
...
Gergo/context view
2023-10-26 15:02:37 +02:00
Gergő Jedlicska
a1831b57db
feat: automation context result view reporting and creating
2023-10-26 15:00:03 +02:00
Gergő Jedlicska
1ff3245531
feat: automate sdk report context view
2023-10-26 13:32:48 +02:00
Gergő Jedlicska
3b4723a186
Merge pull request #309 from specklesystems/gergo/automateReportFunctionName
...
feat: migrate to new automate api
2023-10-25 18:06:44 +02:00
Gergő Jedlicska
efe9551c5e
fix: legacy typing and tests
2023-10-25 17:53:23 +02:00
Gergő Jedlicska
23a5087fbc
feat: migrate to new automate api
2023-10-25 17:46:00 +02:00
Gergő Jedlicska
52c8e37a5b
Merge pull request #305 from specklesystems/gergo/automation_runner_refactor
...
gergo/automation runner refactor
2023-10-11 11:10:41 +02:00
Gergő Jedlicska
6a6b3d4c3d
ci: disable docker layer caching
2023-10-11 11:06:30 +02:00
Gergő Jedlicska
8f32aa014e
ci: release the pin
2023-10-11 11:03:08 +02:00
Gergő Jedlicska
11c6221972
ci: pin to new server image
2023-10-11 10:59:12 +02:00
Gergő Jedlicska
262be44423
chore: bump package version
2023-10-11 09:54:44 +02:00
Gergő Jedlicska
fd3d97cf5a
Merge branch 'main' into gergo/automation_runner_refactor
2023-10-10 18:09:40 +02:00
Gergő Jedlicska
9dba99ad26
Merge pull request #308 from specklesystems/gergo/spiralTurnsFix
...
fix(objects): spiral turns should be optional floats
2023-10-09 15:13:21 +02:00
Gergő Jedlicska
2810598336
fix(objects): spiral turns should be optional floats
2023-10-09 14:25:27 +02:00
Gergő Jedlicska
f918582ed2
Merge pull request #307 from specklesystems/branch_id_name
...
pass branch name to commit.create
2023-10-04 15:53:41 +02:00
KatKatKateryna
9181440c62
pass branch name to commit.create
2023-10-04 14:24:30 +02:00
Gergő Jedlicska
62912d4428
Merge pull request #306 from specklesystems/gergo/automateRaise
...
fix(automate_sdk): make sure we throw for failed version create
2023-10-03 16:08:00 +02:00
Gergő Jedlicska
67cf41d721
fix(automate_sdk): get model name from id
2023-10-03 16:04:22 +02:00
Gergő Jedlicska
4ad3761478
fix(automate_sdk): make sure we throw for failed version create
2023-10-03 15:28:50 +02:00
Gergő Jedlicska
6e8e08ae94
fix(automate): support py >= 3.10 typing
2023-10-03 08:13:40 +02:00
Gergő Jedlicska
6e7c36223f
fix(automate_sdk): functions have releases
2023-10-02 14:03:07 +02:00
Gergő Jedlicska
b1f979a10a
WIP: rework result schema
2023-10-02 14:00:34 +02:00
Gergő Jedlicska
d1ebd84cca
extract useful functions to helpers module
2023-09-21 19:02:42 +02:00
Gergő Jedlicska
fe92e49c59
refactor run automation to directly take in a context
2023-09-21 15:24:04 +02:00
Gergő Jedlicska
fbbd6c0dd7
Merge pull request #303 from specklesystems/gergo/speckle_automate
...
feat: add speckle automate package with some basic sanity tests
2023-09-20 10:06:10 +02:00
Gergő Jedlicska
8ffe219111
chore: update deps
2023-09-19 20:22:57 +02:00
Gergő Jedlicska
e4d087db3a
fix: we still support py38
2023-09-19 20:21:46 +02:00
Gergő Jedlicska
2e8943e961
feat: test against latest
2023-09-19 20:18:47 +02:00
Gergő Jedlicska
f254defc6b
feat: add speckle automate package with some basic sanity tests
2023-09-19 20:11:32 +02:00
KatKatKateryna
541e3d961f
moving restrictions to core
2023-09-19 10:56:39 +01:00
KatKatKateryna
b02f183533
Merge branch 'main' into kate/branch_create_fix
2023-09-19 10:52:12 +01:00
Gergő Jedlicska
589198f5f1
fix: object initialization
...
now every time specklepy is imported, all object definitions are initialized.
This ensures, that all speckle types are registered.
2023-09-19 11:31:57 +02:00
KatKatKateryna
948a56a07f
Merge pull request #300 from specklesystems/2.16_backwards-compatibility
...
add deprecated gis classes
2023-09-18 13:07:19 +01:00
KatKatKateryna
3eed9a60fa
add deprecated gis classes
2023-09-08 19:28:14 +01:00
Jedd Morgan
c169c4eeda
Merge pull request #299 from specklesystems/jrm/units/units-brep-fix
...
fix(objects)): Fixed issue where breps were incorrectly setting their…
2023-09-08 13:45:46 +01:00
Jedd Morgan
32b5ef88a1
fix(tests): fixed unit test for brep serialization
2023-09-08 13:43:50 +01:00
Jedd Morgan
3a979318ad
fix(objects)): Fixed issue where breps were incorrectly setting their units
2023-09-07 17:33:01 +01:00
Gergő Jedlicska
1e6321c7f1
Merge pull request #296 from specklesystems/gergo/abstract_transport_no_pydantic
...
fix(AbstractTransport-and-subclasses): abstract transport and its subclasses should not be pydantic models
2023-09-07 13:26:47 +02:00
Gergő Jedlicska
b5fb684864
Merge branch 'main' into gergo/abstract_transport_no_pydantic
2023-09-07 13:22:15 +02:00
Gergő Jedlicska
65048cd01b
Merge pull request #290 from specklesystems/gergo/allowUnsupportedUnits
...
allow string units
2023-09-07 13:19:25 +02:00
Jedd Morgan
9d2fd5bc42
Merge branch 'main' into gergo/allowUnsupportedUnits
2023-09-07 12:17:19 +01:00
Jedd Morgan
bd35fb59c3
Merge pull request #295 from specklesystems/jrm/unit-scale-factor
...
Unit scaling
2023-09-07 12:17:01 +01:00
Gergő Jedlicska
4931c95d7c
Merge pull request #291 from specklesystems/2.16
...
2.16 - add classes for Topography and Tables without geometry
2023-09-07 13:15:16 +02:00
Gergő Jedlicska
52d53db661
fix(AbstractTransport-and-subclasses): abstract transport and its subclasses should not be pydantic models
...
Pydantic is a validation and parsing library, its supposed to sit at the edge of apps, to make sure the data transferred in and out is valid. Its not meant to be a generic python base class.
2023-09-06 13:43:05 +02:00
Jedd Morgan
23ee28f851
Merge branch 'gergo/allowUnsupportedUnits' into jrm/unit-scale-factor
2023-09-06 12:39:35 +01:00
Jedd Morgan
791190a38c
Merge branch 'main' into gergo/allowUnsupportedUnits
2023-09-06 12:36:45 +01:00
Jedd Morgan
3c7feb0bec
Merge branch 'main' into jrm/unit-scale-factor
2023-09-06 12:36:03 +01:00
Jedd Morgan
2b583fd822
Added unit scaling functions in units.py
2023-09-06 12:34:16 +01:00
KatKatKateryna
8244e3ecc7
remove redundant units
2023-09-06 11:31:54 +01:00
KatKatKateryna
5ac9d80cbc
fix
2023-09-06 11:28:55 +01:00
KatKatKateryna
5e2fbaa7c2
replace init for GIS classes
2023-09-06 11:14:46 +01:00
KatKatKateryna
703ceaf369
naming
2023-09-05 15:02:47 +01:00
Gergő Jedlicska
a5096c41ca
Merge pull request #293 from specklesystems/metrics_rename
...
SDK Action metrics rename
2023-09-05 14:47:31 +02:00
Jedd Morgan
972339454d
Update base.py
2023-09-05 12:50:11 +01:00
KatKatKateryna
34c11d5931
SDK Action
2023-09-05 09:51:36 +01:00
Jedd Morgan
854ce9f77f
Merge branch 'main' into gergo/allowUnsupportedUnits
2023-09-04 21:02:54 +01:00
Jedd Morgan
7f926cf547
Merge pull request #292 from specklesystems/2.16-hotfixes
...
2.16 hotfixes
2023-09-04 21:02:37 +01:00
KatKatKateryna
5e8b54e3b7
import Core client by default
2023-09-04 20:09:57 +01:00
KatKatKateryna
8bd46e4e64
Revert "add metrics keyword for Connector Action"
...
This reverts commit 0cb6c7f682 .
2023-09-04 19:57:36 +01:00
KatKatKateryna
91edd4f85b
add metrics keyword for Connector Action
2023-09-04 19:57:16 +01:00
KatKatKateryna
0cb6c7f682
add metrics keyword for Connector Action
2023-09-04 16:17:48 +01:00
Gergő Jedlicska
125a4bbeed
Merge pull request #288 from specklesystems/jrm/graph-traversal
...
feat: Added graph traversal
2023-08-31 16:05:54 +02:00
Jedd Morgan
76c4074aed
Poetry lock
2023-08-31 15:05:19 +01:00
Jedd Morgan
16164a57da
Merge branch 'main' into jrm/graph-traversal
2023-08-31 15:04:29 +01:00
Jedd Morgan
3a225fa935
attrs class
2023-08-31 15:01:59 +01:00
Gergő Jedlicska
102850b894
allow string units
2023-08-30 15:56:34 +02:00
KatKatKateryna
5ac85c541b
add Topography class
2023-08-25 18:28:06 +01:00
Gergő Jedlicska
cca7b18119
Merge pull request #289 from specklesystems/gergo/pydantic2
...
gergo/pydantic2
2023-08-14 11:42:28 +02:00
Gergő Jedlicska
8a34b95128
remove deprecated user resources
2023-08-14 11:41:37 +02:00
Gergő Jedlicska
46d7abbaee
migrate away from deprecated pydantic method
2023-08-14 11:28:08 +02:00
Gergő Jedlicska
67e95caf5f
Merge pull request #286 from mortenengen/upgrade-to-pydantic2
...
chore: upgrade to pydantic 2.0
2023-08-14 11:13:30 +02:00
Morten Engen
04532ed645
Add defaults to optional model fields in core
2023-08-01 12:45:11 +02:00
Morten Engen
7df175d9bb
Replace deprecated model val methods in core
2023-08-01 12:44:11 +02:00
Morten Engen
3912fa8860
Merge branch 'main' into upgrade-to-pydantic2
2023-08-01 12:27:42 +02:00
KatKatKateryna
34de2928ae
non-geometry GIS class
2023-07-28 13:56:09 +01:00
KatKatKateryna
8a91260887
Merge pull request #287 from specklesystems/2.15-hotfix
...
fully separate core metrics
2023-07-26 16:19:04 +01:00
KatKatKateryna
88eea00787
duplicate _init_resources to non-core (so the resources will also follow sdk-metrics)
2023-07-26 13:16:07 +01:00
KatKatKateryna
c57d57c009
return user resource
2023-07-25 12:56:08 +01:00
KatKatKateryna
708e3329e3
reverted changes, user prop removed
2023-07-24 16:15:43 +01:00
KatKatKateryna
f0e68845c0
Revert "might or might not be a good way to warn about no more accessible 'user' methods"
...
This reverts commit 1ef9b91e82 .
2023-07-24 16:12:28 +01:00
KatKatKateryna
434a4376b3
Revert "redirect deprecated methods / methods with old variables set - to 'other_user'"
...
This reverts commit c99c25e848 .
2023-07-24 16:12:23 +01:00
KatKatKateryna
d701bedcc7
Revert "move deprecated methods to core"
...
This reverts commit 3962126b54 .
2023-07-24 16:12:20 +01:00
KatKatKateryna
6238150bd5
Revert "typo"
...
This reverts commit 3e41e8cd8e .
2023-07-24 16:12:18 +01:00
KatKatKateryna
3e41e8cd8e
typo
2023-07-24 15:43:57 +01:00
KatKatKateryna
3962126b54
move deprecated methods to core
2023-07-24 15:41:32 +01:00
KatKatKateryna
c99c25e848
redirect deprecated methods / methods with old variables set - to 'other_user'
2023-07-24 13:50:28 +01:00
KatKatKateryna
1ef9b91e82
might or might not be a good way to warn about no more accessible 'user' methods
2023-07-24 13:29:00 +01:00
KatKatKateryna
c0cfe1471a
return import of internal function
2023-07-21 17:18:52 +01:00
KatKatKateryna
da838280c3
naming convention, inefficient imports, deprecated methods
2023-07-21 16:32:38 +01:00
KatKatKateryna
681872e5ff
typo
2023-07-17 17:58:49 +01:00
KatKatKateryna
e11c41e0f8
fixing mixed attribute types
2023-07-17 17:48:16 +01:00
Jedd Morgan
ec651a9237
traversal
2023-07-17 14:39:10 +01:00
KatKatKateryna
ece957fb0f
limit http response length
2023-07-12 13:51:10 +01:00
KatKatKateryna
5338d8ac0f
displaying full error message on send
2023-07-12 13:19:45 +01:00
KatKatKateryna
e36ea70e8a
fully separate core metrics
2023-07-12 00:08:26 +01:00
Morten Engen
edf2afaa89
Update poetry.lock
2023-07-07 13:45:45 +02:00
Morten Engen
e0b1b272c0
Update pyproject.toml
2023-07-07 13:06:49 +02:00
Morten Engen
682e82057e
Replace deprecated model validation methods
2023-07-07 13:05:24 +02:00
Morten Engen
473e5cfddb
Store model config in model attribute
2023-07-07 13:04:46 +02:00
Morten Engen
03cd989165
Add defaults to optional model fields
2023-07-07 13:04:14 +02:00
KatKatKateryna
284d841a1e
Merge pull request #285 from specklesystems/gergo/lockResourceExecution
...
fix(resource): make sure no threading contention with the client can happen
2023-06-30 20:45:54 +08:00
Gergő Jedlicska
668fc5131f
fix(resource): make sure no threading contention with the client can happen
2023-06-30 14:42:23 +02:00
Jedd Morgan
64926bd41d
Merge pull request #279 from specklesystems/kate/separate_metrics
...
Kate/separate metrics
2023-06-27 15:53:43 +01:00
Jedd Morgan
1c9b186ea5
Merge pull request #275 from ciga2011/main
...
Fix Pointcloud bugs in geometry.py
2023-06-26 15:54:19 +01:00
KatKatKateryna
ed9f1ad818
rotation
2023-06-21 17:21:50 +01:00
KatKatKateryna
b83c30a1c9
added offsets to crs class
2023-06-21 12:45:18 +01:00
Gergő Jedlicska
c079342a55
Merge pull request #273 from mortenengen/limit-batch-length
...
Fix: limit number of objects per batch sent to server
2023-06-14 14:03:16 +02:00
Gergő Jedlicska
6aa29d9b30
Merge branch 'main' into limit-batch-length
2023-06-14 13:58:57 +02:00
KatKatKateryna
f456e4ddbb
rename
2023-06-13 17:53:03 +01:00
KatKatKateryna
dcd13224d0
added native_units for Degrees
2023-06-13 17:48:03 +01:00
KatKatKateryna
06952a5991
more specific domain identification
2023-06-13 12:17:27 +01:00
KatKatKateryna
6049049813
fixed server_id
2023-06-12 20:05:47 +01:00
Alan Rynne
75b7d30bd6
Merge branch 'main' into kate/separate_metrics
2023-06-12 15:35:34 +02:00
Alan Rynne
19e26318fc
fix(ci): Integration tests now use new docker-compose file ( #283 )
...
* fix(ci): Initial test with new docker-compose file
* fix(ci): Don't use python orb
* fix(ci): Use python 3
* fix(ci): Use python3 everywhere
* fix(ci): whitespace PEBKAC
* fix(ci): use included pyenv installation
* fix(ci): Skip pyenv version if its the current one
* fix(ci): Reapply matrix build for integration testing
* fix(ci): Run exec $SHELL
* fix(ci): Removed exec step
* fix(ci): Remove test-old job
2023-06-09 11:46:03 +02:00
Matteo Cominetti
798dc7ff6a
Merge pull request #282 from specklesystems/alan/ci/remove-github-actions
...
chore(ci): Remove old github actions from specklepy repo
2023-06-08 13:59:14 +01:00
Alan Rynne
0e4cff5904
chore(ci): Remove old github actions from specklepy repo
2023-06-08 10:53:02 +02:00
KatKatKateryna
d1502c9072
add GIS classes
2023-06-02 20:03:45 +01:00
KatKatKateryna
869629e2a3
return var for unchanged classes
2023-06-02 19:31:35 +01:00
KatKatKateryna
48b98294fb
remove constant var from a child class
2023-06-02 19:23:03 +01:00
KatKatKateryna
8205180e5d
_untracked_receive referenced from core function
2023-06-02 13:27:25 +01:00
KatKatKateryna
a2fd21f541
Metrics renamed to SDK Actions
2023-06-02 13:18:20 +01:00
KatKatKateryna
08ac76cf09
untracked API to Core
2023-06-01 23:48:04 +01:00
Gergő Jedlicska
fbf19420fa
Merge pull request #278 from specklesystems/gergo/structural_shape_type
...
fix(structural-properties): add missing ShapeType member
2023-05-30 18:11:42 +02:00
Gergő Jedlicska
44336addaf
fix(structural-properties): add missing ShapeType member
2023-05-30 18:02:25 +02:00
ciga2011
43c9a9cace
Update geometry.py
...
Pointcloud properties should be chunkable.
2023-05-11 16:07:58 +08:00
KatKatKateryna
99e9f773b8
Merge pull request #269 from specklesystems/objects/collections
...
Added collection object
2023-05-05 23:25:56 +08:00
KatKatKateryna
189a5847cf
Update other.py
2023-05-05 15:12:00 +01:00
KatKatKateryna
eb86b4881a
Merge branch 'main' into objects/collections
2023-05-05 14:49:26 +01:00
KatKatKateryna
64fca5f280
Collections moved to Core
2023-05-05 14:48:26 +01:00
Morten Engen
784e9c1326
batch_sender: limit number of objects per batch
2023-04-18 15:13:39 +02:00
Gergő Jedlicska
c7f5e0718b
Merge pull request #267 from RobClaessensRHDHV/feature/suppress_type_error_during_type_check
...
Fix: also suppress TypeError during type checking.
2023-04-06 19:00:08 +02:00
908599
d2685c5cf5
Add unit tests for type validation of Union with float and dict.
2023-04-06 17:28:55 +02:00
908599
1b83e5a84b
Merge branch 'main' of https://github.com/RobClaessensRHDHV/specklepy into feature/suppress_type_error_during_type_check
2023-04-06 17:10:18 +02:00
Gergő Jedlicska
77e09b9780
Merge pull request #266 from specklesystems/jrm/one-installer-for-all
...
Added Installer
2023-04-06 17:03:15 +02:00
Gergő Jedlicska
402f750200
Merge pull request #270 from specklesystems/gergo/fix_tests
...
gergo/fix tests
2023-04-06 17:02:11 +02:00
Gergő Jedlicska
a43e7471a4
style(formatting): fix formatting issues
2023-04-06 16:57:44 +02:00
Gergő Jedlicska
a4ed7ebb08
fix(integration-tests): fix integration tests
2023-04-06 16:56:21 +02:00
Jedd Morgan
e7eb7c67a9
Added collection object
2023-04-06 14:14:29 +01:00
908599
d547cdaac0
Fix to also suppress TypeError during type checking.
...
This currently gives an error when float conversion is attempted with a non-numeric value.
2023-04-06 10:13:19 +02:00
Jedd Morgan
6f35c1bd20
Added Installer
2023-03-28 17:04:46 +01:00
Jedd Morgan
420c73f484
Merge pull request #265 from specklesystems/gergo/connector_install_path
...
feat(path-provider): add connector installation path helper
2023-03-28 13:47:56 +01:00
Gergő Jedlicska
c2859475cc
feat(path-provider): add connector installation path helper
2023-03-28 13:31:57 +02:00
Gergő Jedlicska
56e8d65e2b
Merge pull request #264 from specklesystems/jsdbroughton-patch-1
...
fix: `invite_batch` failing where `emails` or `user_ids` is not provided
2023-03-22 18:32:41 +01:00
Jonathon Broughton
7885a6be8d
fix: NoneType is not iterable
2023-03-21 17:46:16 +00:00
Jedd Morgan
b19b85c9d1
Merge pull request #263 from specklesystems/jrm/instances
...
Updated instances to match sharp 2.13 changes
2023-03-21 13:12:50 +00:00
Jedd Morgan
db4b2b7f87
Removed new collections class as we are not ready
2023-03-20 15:16:03 +00:00
Jedd Morgan
77916995bc
Updated instances to match sharp 2.13 changes
2023-03-19 03:11:10 +00:00
Gergő Jedlicska
3dd56dc38e
Merge pull request #260 from specklesystems/gergo/forward_ref_type
...
gergo/forward ref type
2023-02-15 20:48:55 +01:00
Gergő Jedlicska
ae42bec1c3
style(formatting): rerun formatting
2023-02-15 19:21:48 +01:00
Gergő Jedlicska
ea7baf8eb5
fix(type_checking): make sure forwardrefs blank pass type checking
2023-02-15 19:20:45 +01:00
KatKatKateryna
6a9f4bf89b
gql minimum characters restriction for consistent behavior with frontend
2023-02-08 07:29:02 +08:00
Gergő Jedlicska
8352bb5c9a
Merge pull request #257 from Knuttatutta/knuttatutta/add_axis_type
...
Fix: Add AxisType and fix its type in Axis
2023-02-01 15:27:34 +02:00
Gergő Jedlicska
fc34b876fd
Merge branch 'main' into knuttatutta/add_axis_type
2023-02-01 15:26:10 +02:00
Gergő Jedlicska
183993cfc5
Merge pull request #254 from RobClaessensRHDHV/feature/revit_analytical_to_specklepy_structural_fixes
...
Fix: Interoperability from Revit analytical to specklepy structural
2023-02-01 15:24:45 +02:00
Knuttatutta
9be3b4b93d
Added AxisType in module init
2023-02-01 10:34:01 +01:00
Knuttatutta
0b14660115
Add AxisType, fix type in Axis
2023-02-01 10:16:13 +01:00
908599
68c4c682a0
Revert incorrect type hint change
2023-01-17 10:46:31 +01:00
908599
4f93ddcaf3
Update speckle_type of SectionProfile to match C#, update type hints with C# Enum values to int.
...
For the SectionProfile, a separate static variable e.g. STRUCTURAL_PROFILE could be created later, I now just made an easy fix.
For the enumeration attributes, I believe they should be integer, as e.g. Revit pushes them as integers, not strings.
2023-01-16 16:01:33 +01:00
Gergő Jedlicska
e842f651b9
Merge pull request #253 from RobClaessensRHDHV/feature/structural_property_bugfix
...
Typo fix in properties.py
2023-01-16 13:53:44 +01:00
908599
7e1bec1aba
Typo fix in properties.py
2023-01-16 11:39:41 +01:00
Gergő Jedlicska
1fb9a4f5fe
Merge pull request #252 from specklesystems/gergo/set_type_fix
...
fix(typing-system): add set type into type validation
2023-01-11 16:10:28 +01:00
Gergő Jedlicska
1668c80bed
fix(typing-system): add set type into type validation
2023-01-11 16:07:04 +01:00
Gergő Jedlicska
ac6ba87c68
Merge pull request #251 from specklesystems/gergo/unionTriples
...
fix(type-validation): fix union types with more than 2 arguments
2023-01-10 13:02:36 +01:00
Gergő Jedlicska
3db8565f57
fix(type-validation): fix union types with more than 2 arguments
2023-01-10 12:58:19 +01:00
Alan Rynne
a32822f4e3
ci: Updated github actions to use new actions repo
2023-01-09 20:42:24 +01:00
Gergő Jedlicska
40956927c8
Merge pull request #250 from specklesystems/gergo/nonGenericTFix
...
fix(typing): fix non generic typedefed lists and tuples
2023-01-09 15:54:36 +01:00
Gergő Jedlicska
4628f111ba
fix(type-checking): fix py >= 3.9 dict type checking
2023-01-09 15:53:15 +01:00
Gergő Jedlicska
9c952b432d
fix(typing): fix non specificed generic types for py 3.7 py 3.8
2023-01-09 15:39:45 +01:00
Gergő Jedlicska
f075988e4b
fix(typing): fix non generic typedefed lists and tuples
2023-01-09 15:10:23 +01:00
Gergő Jedlicska
65c829404a
Merge pull request #247 from specklesystems/gergo/pathingUnification
...
feat(path-handling): rework path handling to match behavior of Core
2023-01-06 15:20:28 +01:00
Jedd Morgan
85e7a72524
fix(tests): Fixed regex escape on path tests
2023-01-06 14:00:19 +00:00
Gergő Jedlicska
0533aa0139
Merge pull request #248 from specklesystems/gergo/updatePypiAuth
...
;51R;51R
2023-01-05 16:18:22 +01:00
Gergő Jedlicska
04b733a241
ci(circleci): update pypi context usage
2023-01-05 16:15:49 +01:00
Gergő Jedlicska
01036c0f2e
test(unit-tests): fix unit tests after merge
2023-01-05 11:06:11 +01:00
Gergő Jedlicska
4d8ca534fe
Merge branch 'main' of github.com:specklesystems/specklepy into gergo/pathingUnification
2023-01-05 11:05:03 +01:00
Gergő Jedlicska
e941efd95c
refactor(tests): split into unit and integration tests folder
2023-01-05 10:59:43 +01:00
Gergő Jedlicska
be9defbfa9
Merge pull request #245 from specklesystems/gergo/fully_qualified_names
...
feat(Base): rework speckle_type handling to better align with Core
2023-01-05 10:55:32 +01:00
Gergő Jedlicska
dd54c69554
feat(path-handling): rework path handling to match behavior of Core
2023-01-05 10:41:39 +01:00
Gergő Jedlicska
93c1ec9556
Merge pull request #240 from ItsPatrickHe/bugfix/results_default_values
...
Update default value of results from 0.0 to None to align with the default value in speckle-sharp
2023-01-04 10:31:18 +01:00
Gergő Jedlicska
659c57e840
Merge branch 'main' of github.com:specklesystems/specklepy into pr/ItsPatrickHe/240
2023-01-04 10:27:38 +01:00
Gergő Jedlicska
1cdd4ffc9c
feat(Base): rework speckle_type handling to better align with Core
...
use a dotnet `FullName` like behavior to deremine the speckle_type
fixes #231
2023-01-04 10:15:36 +01:00
Gergő Jedlicska
5ae022d2ed
Merge pull request #244 from specklesystems/gergo/fixNoneInListSerialization
...
fix(BaseObjectSerializer): fix converting None in list to the string "None"
2022-12-21 16:04:33 +01:00
Gergő Jedlicska
31ca59cea8
fix(BaseObjectSerializer): fix converting None in list to the string "None"
2022-12-21 16:00:49 +01:00
Jinxuan He
c91f673dba
Add optional for float, regarding type checking
2022-12-21 12:38:21 +01:00
Gergő Jedlicska
e2c8ef1b3d
Merge pull request #239 from mortenengen/update-pydantic-dep
...
fix: update minimum required version of pydantic
2022-12-21 12:05:44 +01:00
Gergő Jedlicska
b6b0a5a3a0
Merge pull request #242 from specklesystems/gergo/pre-commit
...
gergo/pre commit
2022-12-21 12:00:45 +01:00
Gergő Jedlicska
f36d63a2cf
Merge pull request #241 from specklesystems/speckle_type_sync_with_core
...
speckle type sync with core
2022-12-21 11:59:39 +01:00
Gergő Jedlicska
afb9065fb9
fix(metrics): fix missing default arg to track function
2022-12-20 14:53:59 +01:00
Gergő Jedlicska
fcc33f8989
style(all-project): fix all linting errors across the project with the current setup
2022-12-20 14:46:36 +01:00
Gergő Jedlicska
2cf9b64221
style(server-transport): fix import export
2022-12-20 10:47:48 +01:00
Gergő Jedlicska
990cf4eb2f
style(whole-project): fixing linting and typing errors
2022-12-20 10:45:22 +01:00
Gergő Jedlicska
b25f2ab4bc
style(whole-project): fix styling from new pre-commit config
2022-12-19 14:03:20 +01:00
Gergő Jedlicska
a8786c126d
build(pre-commit-config.yaml): add basic pre-commit config
2022-12-19 14:02:42 +01:00
Gergő Jedlicska
a35f8936ca
bump: version 2.9.1 → 2.9.2
2022-12-19 12:44:11 +01:00
Gergő Jedlicska
d965cc0988
add pre-commit dependency
2022-12-19 12:37:20 +01:00
Gergő Jedlicska
59a6950eed
fix type checking error message
2022-12-16 22:01:56 +01:00
Gergő Jedlicska
6804282fac
import ordering
2022-12-16 21:45:47 +01:00
Gergő Jedlicska
a3a22a43d5
formatting fixes
2022-12-16 21:45:24 +01:00
Gergő Jedlicska
08aaa41b6c
fix units
2022-12-16 21:45:04 +01:00
Gergő Jedlicska
07a3213ee9
fix objects import
2022-12-16 21:21:13 +01:00
Gergő Jedlicska
7a46176803
additional test cases for type validation
2022-12-16 21:17:39 +01:00
Jinxuan He
b75501addd
Update default value from 0.0 to None to align them with the default value in speckle-sharp
2022-12-16 15:42:59 +01:00
Gergő Jedlicska
15636dbe62
rework type checking in base
2022-12-16 13:41:07 +01:00
Gergő Jedlicska
9a2061d900
add missing object definitions from core
2022-12-16 13:40:43 +01:00
Morten Engen
8dc51fb936
Update min required version of pydantic
2022-12-16 12:30:56 +01:00
Gergő Jedlicska
e805b8ac6e
style(all): sort imports with isort
2022-12-09 20:48:02 +01:00
Gergő Jedlicska
5a1d624979
refactor(objects): fix import structure and typing errors for objects
2022-12-09 20:47:16 +01:00
Gergő Jedlicska
c8808b07b3
fix(objects): update structural objects to better match core
2022-12-09 19:46:48 +01:00
Gergő Jedlicska
1a9b847c44
test(base): update base tests to properly test the speckle_type generation
2022-12-09 19:46:09 +01:00
Gergő Jedlicska
f01fcb8e66
fix(base): update speckle_type creation to better match Core
2022-12-09 19:45:20 +01:00
Gergő Jedlicska
67499ab20c
Merge pull request #219 from specklesystems/gergo/typeFixes
...
typing and formatting fixes
2022-12-09 12:36:07 +01:00
Gergő Jedlicska
ebb703e68d
Merge branch 'main' of github.com:specklesystems/specklepy into gergo/typeFixes
2022-12-08 14:27:42 +01:00
Gergő Jedlicska
ef5d41da5d
Merge pull request #233 from ItsPatrickHe/bugfix/property_attr_fix
...
Align the attribute names for Property1D, Property2D and Property3D w…
2022-12-08 14:26:36 +01:00
Gergő Jedlicska
851dd9c482
Merge pull request #234 from specklesystems/gergo/ciFix
...
ci(circleci): force integration test server to use localhost ipv4 adresses
2022-12-08 14:01:07 +01:00
Gergő Jedlicska
78074cf691
ci(circleci): force integration test server to use localhost ipv4 adresses
2022-12-08 13:03:39 +01:00
Jinxuan He
be0daa419d
Align the attribute names for Property1D, Property2D and Property3D with the speckle-sharp repo
2022-12-05 14:32:59 +01:00
Gergő Jedlicska
a7d1b9ce30
Merge pull request #230 from specklesystems/gergo/py311
...
testing cimg/python311
2022-11-02 12:43:49 +01:00
Gergő Jedlicska
05756a8e9e
testing cimg/python311
2022-11-02 12:41:32 +01:00
Gergő Jedlicska
b50e658333
Merge pull request #228 from specklesystems/gergo/noDiskAccess
...
make sure specklepy send works completely without disk write access
2022-11-01 20:50:14 +01:00
Gergő Jedlicska
88248353ab
make sure specklepy send works completely without disk write access
2022-11-01 16:43:17 +01:00
Alan Rynne
aec94f8f7f
Merge pull request #225 from specklesystems/gergo/limited_user_query
...
deprecate user resoure, add new active_user and other_user resources
2022-10-28 10:06:12 +02:00
Gergő Jedlicska
e6b1604bc3
fix seed user redirects
2022-10-26 16:45:24 +02:00
Gergő Jedlicska
de29b93b8b
fix test ordering
2022-10-26 14:49:12 +02:00
Gergő Jedlicska
10aa8b59b6
update lock file
2022-10-26 14:43:22 +02:00
Gergő Jedlicska
b86faa6a14
remove pytest sugar, its broken on circleci
2022-10-26 14:34:23 +02:00
Gergő Jedlicska
7430611c52
remove old dev dependency syntax
2022-10-26 14:31:04 +02:00
Gergő Jedlicska
ddd52f4af9
deprecate user resoure, add new active_user and other_user resources
2022-10-26 11:30:04 +02:00
Gergő Jedlicska
35bc6b0350
Merge pull request #223 from specklesystems/gergo/src_folder
...
move code to /src/ folder pattern
2022-10-25 13:11:29 +03:00
Gergő Jedlicska
9585d46c4e
move code to /src/ folder pattern
2022-10-25 11:55:27 +02:00
Gergő Jedlicska
1900fece8b
version bump
2022-10-07 16:02:16 +02:00
Gergő Jedlicska
344b7de557
typing and formatting fixes
2022-10-07 15:59:48 +02:00
Alan Rynne
fd09e97a53
Merge pull request #218 from specklesystems/gergo/receiveMetricsUpdate
...
gergo/receiveMetricsUpdate
2022-10-06 17:24:32 +02:00
Gergő Jedlicska
459bd0901f
add untracked receive operations for connector side tracking
2022-10-06 16:40:03 +02:00
Gergő Jedlicska
ae7c4bc14d
add host aplication implementation from sharp
2022-10-06 16:39:40 +02:00
Gergő Jedlicska
41f1823aae
Merge pull request #215 from specklesystems/gergo/urlCompare
...
gergo/urlCompare
2022-09-27 15:19:09 +02:00
Gergő Jedlicska
625bd5cd84
fixing path.unlink for py37
2022-09-27 15:13:29 +02:00
Gergő Jedlicska
8812985c67
Merge branch 'main' of github.com:specklesystems/specklepy into gergo/urlCompare
2022-09-27 14:57:48 +02:00
Gergő Jedlicska
c838835a65
Merge pull request #213 from specklesystems/gergo/noneUnits
...
gergo/noneUnits
2022-09-27 14:56:54 +02:00
Gergő Jedlicska
361ba6bfcd
fix stream wrapper matching on accounts with subdomain url-s
2022-09-26 20:15:45 +02:00
Gergő Jedlicska
8078a4b596
remove literal import
2022-09-26 09:59:42 +02:00
Gergő Jedlicska
08b106464f
remove unused literal
2022-09-24 16:24:48 +02:00
Gergő Jedlicska
0cfe5db674
reformat stuff, fix backwards compatible typing
2022-09-24 16:22:04 +02:00
Gergő Jedlicska
d9dbca2c68
py311 is not yet supported by circleci base images
2022-09-24 16:14:43 +02:00
Gergő Jedlicska
ab5b55871b
test for python311
2022-09-24 16:12:01 +02:00
Gergő Jedlicska
2f87956154
remove checking for the fetched users email
2022-09-24 16:09:47 +02:00
Gergő Jedlicska
6fc4ab1539
update tests
2022-09-23 17:09:25 +02:00
Gergő Jedlicska
7f432e768d
Fix warnings about None type units being set on Base objects
...
Add proper units enum implementation
Co-authored-by: Alan Rynne <alan@speckle.systems >
Co-authored-by: Morten Engen <morten.engen@multiconsult.no >
2022-09-23 17:08:53 +02:00
izzy lyseggen
d0eb364b3e
feat(client): add monitoring headers to client setup ( #209 )
...
* chore: delete unused file
* feat(client): update monitoring headers in setup
2022-09-08 10:08:34 +01:00
Reynold Chan
936b2d8b5a
Update material.py
2022-08-22 23:16:19 -04:00
luzpaz
5a9aec80bd
Fix: misc. typos ( #208 )
...
Just some minor typos
2022-08-22 12:24:11 +01:00
izzy lyseggen
6616526279
fix(metrics): log ex as debug for jupyter notebook ( #206 )
...
* fix(metrics): log ex as debug for jupyter notebook
so apparently in jupyter notebooks this will actually throw
unlike in a regular python environment.
changing severity to debug since no one should ever care except me
when i'm debugging lol!
* fix(metrics): another log level change
2022-08-16 10:44:14 +01:00
izzy lyseggen
6e00de58b9
Revert "fix(metrics): log ex as debug for jupyter notebook ( #204 )" ( #205 )
...
This reverts commit 506aaf68ca .
2022-08-16 10:41:03 +01:00
Iain Sproat
0ec404bbec
GitHub template update ( #203 )
...
* Initial commit
* Create CODE_OF_CONDUCT.md
* Create CONTRIBUTING.MD
* Update CODE_OF_CONDUCT.md
adds authoritative source notice to this repo
* Create ISSUE_TEMPLATE.md
* Update CODE_OF_CONDUCT.md
* Update and rename CONTRIBUTING.MD to CONTRIBUTING.md
* Update README.md
adds basic default social badges - discourse and twitter
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Create LICENSE
* Update README.md
* Update README.md
* Update CONTRIBUTING.md
fixes link
* Update CODE_OF_CONDUCT.md
* docs: add slack link and badge
* Update README.md
* fix: link and typos
* fix: more links
* refactor: moved files to .github/ folder
* feat: added PR template
Updated docs to reflect it.
* fix: updated old link
* fix: added yaml frontmatter block to issue template
* docs: removes links to slack
* docs: adds link to docs
* Update README.md
* Create open-issue.yml
* Create close-issue.yml
* Fixes: PR template updated to provide detailed instructions
* Add link to speckle-server contribution guide
* Fix link to relative to the repo pull requests
* Feature: separates issue template into bugs and feature requests
* Provides checklist for both issue templates
* Hides instructions in comments
* Add link to contribution guidelines
* Retain some sections from previous issue template
* checklist is clearer
* style: tidy newlines and other small formatting
* Add a SECURITY.md file
* Refer to the code of conduct in the contributing section of the README
* chore(pr_template): adds a reference section to the PR template
The SpecklePY PR template had a reference section, and it made sense to include it for all
repositories.
* Remove redundant issue template
* fix(pull request template): pR template should be the default and not an option
PR template was in a directory which allows selection using queries. The PR template should be
provided by default so should be renamed and placed in the .github directory.
Co-authored-by: Dimitrie Stefanescu <didimitrie@gmail.com >
Co-authored-by: izzy lyseggen <izzy.lyseggen@gmail.com >
Co-authored-by: Matteo Cominetti <matteo@cominetti.org >
Co-authored-by: Alan Rynne <alan@speckle.systems >
Co-authored-by: Alan Rynne <alan@rynne.es >
Co-authored-by: Matteo Cominetti <matteo@speckle.systems >
2022-08-16 10:37:21 +01:00
izzy lyseggen
506aaf68ca
fix(metrics): log ex as debug for jupyter notebook ( #204 )
...
so apparently in jupyter notebooks this will actually throw
unlike in a regular python environment.
changing severity to debug since no one should ever care except me
when i'm debugging lol!
2022-08-16 10:35:57 +01:00
izzy lyseggen
9fa6b661eb
feat(client): stream invites ( #202 )
...
* chore: update dev container
* feat(client): add server version request
* docs(client): enhanced server version docstring
* test(client): sever version test
* test(base): type check for union type
* refactor(base): move _ attrs to `RegisteringBase`
* refactor: some light cleanup
* chore(container): add pylint line length
* feat(metrics): add "Invite Action"
* feat(client): pass server version to resources
* feat(models): pending stream collaborator model
* fix(client): do not parse if request res is null
* feat(exceptions): add unsupported exception
to distinguish for new invites as of server 2.6.4
* feat(client): add stream invite queries/mutations
* test(client): test stream invites
* feat(client): incorporate last invites changes
2022-07-26 17:58:46 +01:00
izzy lyseggen
d1adccba00
feat(serialization): cache bases on deserialize ( #200 )
...
* feat(serialization): cache bases on deserialize
allows the deserializer to return the same instance when encountering
objects with the same id
closes #191
* feat(serialization): cache bases on deserialize
allows the deserializer to return the same instance when encountering
objects with the same id
closes #191
* fix(serialization): check before accessing id
obj may not be detached and therefore might not have an id
* feat(serializer): cache w id from obj not base
* chore: update deps
* feat(operations): lil send helper
on send, if `transports` is just a transport, add it to a list.
i see this error a lot so just a friendly lil fix!
* feat(objects): breps omg!
* test(geometry): updates for breps
* test(geometry): more brep serialization tests
* refactor(test): formatting
* style: formatting
* test(geometry): clean up test file
* fix(test): brep trims test fix
* refactor(geometry): clean up encoding outputs
* feat(objects): allow kwargs in encoding
* feat(objects): align curve encodings w sharp
* test(geometry): new curve encodings
* feat(client): update stream permission mutation
guess this changed some time recently and i wasn't made aware of it
* fix(objects): brep face and edge encoding
* fix(geometry): breps units 'none' fix
* test(objects): fix 'none' units issue
* revert(486ea99 ): use `streamGrantPermission`
to be updated for next server release
2022-07-20 18:02:25 +01:00
Reynold Chan
9e30250446
Create test_structural.py ( #180 )
2022-07-15 16:38:55 +01:00
Morten Engen
3e7d657e2e
feat(base): sort serializable attributes ( #198 )
...
Sorts the serializable attributes before they are returned from
.get_serializable_attributes(). Prevents the object id to change if the
order of the member names from .get_member_names() changes.
2022-07-11 12:19:22 +01:00
izzy lyseggen
7484d8441b
fix(credentials): clean up sqlite transport directly after getting accts ( #199 )
...
* fix(sqlite): use `self.close()` on del
* fix(credentials): close sqlite directly after use
* refactor(serializer): consolidate var name for ids
2022-07-11 10:31:19 +01:00
izzy lyseggen
682afce05f
fix(transport): call begin/end write in server ( #195 )
...
* fix(transport): call begin/end write in server
* style: remove unused code
2022-06-30 16:16:05 +01:00
izzy lyseggen
21b27e2f3b
feat(metrics): add ids for unknown users ( #194 )
...
* feat(metrics): add `merge_ids` helper method
* fix(metrics): use alias ids instead
* fix(metrics): final cleanup for aliasing
* fix(metrics): lol jk scratch the aliasing
2022-06-28 12:23:19 +01:00
izzy lyseggen
69cd9706cf
fix(base): remove default units to Base ( #193 )
...
* fix(base): remove default units to `Base`
change in sharp that wasn't propagated to py!
* fix(objects): add `None` to unit encodings
2022-06-22 17:03:50 +01:00
izzy lyseggen
98075fa2cf
fix(metrics): remove unused prop ( #192 )
2022-06-22 14:52:49 +01:00
izzy lyseggen
782f70fb49
chore: drop python 3.6 and update ujson ( #190 )
...
* chore: depreciate python 3.6 support & upate ujson
after collection python version info metrics, we fount that only 2 users
are still using python 3.6. since it has been eol for 5 months now,
we believe it's safe to let it go.
rest easy 3.6 ⚰✨ - you served us well 🫡
closes Please upgrade the ujson dependency, which has a CVE #160
* chore: upgrade and clean some deps
2022-06-20 12:19:09 +01:00
Gergő Jedlicska
52ab27e60f
SQLite write batching ( #188 )
...
### SUMMARY
**sqlite transport**
This transport now batches and bulk inserts objects when writing resulting in huge performance improvements (100x).
**base object serializer**
Batching in the sqlite transport necessitated some refactoring here in order to safely call end_write when not using operations.send/receive. This has been resolved by turning traverse_base into a wrapper for _traverse_base which can take care of calling begin/end_write and resetting the writer at the top level. This is not breaking since the top level methods to call have not changed names and the original method has just been prepended with a _
Additionally, missing referenced child objects in the read transport used to raise a SpeckleException. However, using the gql client to call objects.get() will return an object with missing references by design thus throwing an error in serialization. This has been resolved by instead raising a SpeckleWarning when child objects can't be found and just returning the reference + id. ((this method of interacting with objects is discouraged so it is not surprising to me that this bug was lurking for so long - but an oopsie nonetheless!))
**ci / dev**
Updates for the ci config and the dev container to work with the recent changes in server.
NOTE: dev container seems to be pulling an older version of server -- not resolved yet
---
* quick and hacky sqlite batching
* feat(transports): batching sqlite inserts
* chore: upgrade gql3
also removed py-spy as it's not used and i was getting install errors :/
* ci: bump node version
* ci: formatting
* update CI versions
* update to new circleci redis baseimage
* update test fixture auth to non deprecated token based method
* add start and finish write method calls to base object serialize
* chore: dev container update
* fix(serialization): move end and begin write
* style: formatting
* fix(serializer): warn but don't throw if ref not found
this is _not_ an issue with the transports, but an issue with using the
graphql api to fetch objects. since you are only receiving one obj and none of
the children, the transport has no way to find them and should simply
return the reference as is. idk why anyone would really use `object.get`
so tbh i'm not surprised no one has found this bug yet lol
* fix(client): don't parse obj create response
* fix(serializer): wrap `traverse_base`
moving `begin` and `end_write` to the seriazlier due to the new
sqlite transport with batched writes necessitates a wrapper around
`traverse_base` so end/begin write can be called once at the top level.
just adding begin/end write to the original traversal method would make
tons of calls to `end_write` since the traversal is recursive
Co-authored-by: izzy lyseggen <izzy.lyseggen@gmail.com >
2022-06-20 12:00:09 +01:00
izzy lyseggen
61e7ebeabd
fix(client): add faves count to mutation return ( #186 )
2022-04-25 11:45:54 +01:00
izzy lyseggen
3a8121c306
feat(client): stream model update + favoriting ( #185 )
...
* feat(models): a quickie lil update
- adds fave and comment count
(mutations to come)
- adds source app to commit within stream query
* feat(client): add favorite mutation
2022-04-25 11:32:24 +01:00
izzy lyseggen
209a95879f
fix(metrics): patch app version check
2022-04-22 11:46:27 +01:00
izzy lyseggen
4f829d9908
feat(metrics): some cleanup and updates ( #184 )
...
- add metrics for client init / auth
- add server metrics
- remove incompatible server check in client
(at this point, it's been long enough that I think it's fine and will
save time on request / esp in places like blender)
2022-04-22 11:26:28 +01:00
luzpaz
ac5345f528
Fix various typos ( #181 )
2022-04-21 17:56:11 +01:00
izzy lyseggen
1142481d89
fix(geometry): int(index vals) for curve encoding ( #183 )
...
* fix(geometry): int(index vals) for curve encoding
* fix(client): update poss invalid token check
server now returns `None` instead of a `GraphqlExcetion` when asking for
the user with an invalid token (or no scopes token)
2022-04-21 17:50:43 +01:00
izzy lyseggen
b4690f082f
feat(objects): revit params in objects for blender ( #179 )
2022-04-01 11:58:49 +01:00
izzy lyseggen
81a98ea938
feat(client): stream and user activity ( #176 )
...
* feat(models): `ActivityCollection` and `Activity`
* feat(client): stream activity method
* test(client): test for stream activity
* refactor(client): use datetime args for activity
* docs(client): clean up stream activity docstring
* feat/test(client): user activity
2022-03-23 17:34:10 +00:00
izzy lyseggen
9b387da77a
feat(serialisation): enums ( #175 )
...
note that this won't re-serialise dynamic members as enums.
they will come back as ints for consistency w sharp
closes 🃏 Enum serialisation bug #174
2022-03-23 11:49:16 +00:00
izzy lyseggen
d0724c7d06
fix(objects): brep display val fix ( #170 )
...
* fix(client): auth fix
* fix(objects): temp displayValue prop setter
will be removed in the future, but keeping it now for backwards compat
2022-03-02 14:17:04 +00:00
izzy lyseggen
1414a3611b
fix(wrapper): use full url for creating shell account ( #169 )
...
used for creating a transport if you don't have a local account
for the specified server
2022-03-01 10:33:47 +00:00
izzy lyseggen
a553c17c43
fix/test(serialization): null values in dicts ( #168 )
2022-02-24 11:31:04 +00:00
izzy lyseggen
0be3fac6ab
docs: update streamwrapper docstring
2022-02-23 16:52:23 +00:00
izzy lyseggen
944e70221e
refactor(auth&metrics): use accounts everywhere and switch metrics ( #166 )
...
* feat(metrics): wip
* refactor(auth): use accts instead of tokens
* fix(wrapper): delayed auth bug
* refactor(memory): quick fix
* fix(creds): change incompatible py 3.8+ syntax
* feat(anatylics): updates tracking
* fix(credentials): catch when no accts
* fix(metrics): remove unused field
* feat(wrapper): raise exception for old import
* feat(analytics): consolidate names
2022-02-23 11:00:04 +00:00
izzy lyseggen
21f13c4750
chore: lgtm fixes ( #164 )
...
* chore: clean imports
* chore: more lil fixes
2022-02-21 11:19:06 +00:00
izzy lyseggen
be85ddd159
feat(server): force utf-8 encoding ( #163 )
...
objects were being split on non-english characters causing receive fails
will also get fixed server side, but this will act as a double check
and an immediate fix for people dealing with this now
2022-02-18 10:33:25 +00:00
izzy lyseggen
77c538ced9
feat(server): allow unauth server transport ( #162 )
...
for receiving public objects
2022-02-17 10:10:25 +00:00
izzy lyseggen
ee55680b03
feat(objects): add and test Mesh.create() ( #161 )
2022-02-08 16:56:33 +00:00
Reynold Chan
0728239915
Merge pull request #141 from specklesystems/structural/objects
...
Python Structural Objects Classes
2022-01-31 08:49:29 -05:00
izzy lyseggen
77016e6f0b
chore(dev): update py and fix EOL errors ( #157 )
...
* chore(dev): fix eol probs on win
* chore(dev): bump py to 3.9
2022-01-24 15:17:23 +00:00
Antoine Dao
ce39aa5101
chore(dev): add devcontainer configuration ( #121 )
...
This makes it easier to develop and run tests against an environment that has the right python virtualenv + a local speckle server + postgres + redis instance
2022-01-24 10:55:39 +00:00
izzy lyseggen
f32196ce1b
feat(client/ops): handle invalid token errors ( #156 )
...
* feat(client): validate token in `authenticate`
* feat(server transport): catch invalid token
* test(client/ops): error handling of invalid tokens
* feat(client): warning rather than exception
2022-01-21 16:32:33 +00:00
izzylys
6b24e187a5
fix(wrapper): quick acct field fix
2022-01-12 11:33:01 -08:00
izzy lyseggen
129d25df0e
Merge pull request #154 from specklesystems/izzy/ujson-fix
...
fix(serializer): ujson big int issue
2022-01-10 19:34:14 +00:00
izzy lyseggen
fa31bd0223
Merge pull request #153 from specklesystems/izzy/streamwrapper-alignment
...
feat(wrapper): make acct/client private
2022-01-10 19:33:33 +00:00
izzylys
21209b384d
feat(wrapper): make acct/client private
...
closes #139
realised that this doesn't really apply to py since acct is set
automatically by looking for the right server url, but have made this
more explicit by making the acct and client "private"
2022-01-10 11:30:39 -08:00
izzylys
1a9c95871f
test(serializer): big int fix
2022-01-10 11:19:11 -08:00
izzylys
dc4d583121
fix(serializer): fall back to json lib for big int
2022-01-10 11:19:05 -08:00
izzy lyseggen
ed39f0288f
Merge pull request #151 from specklesystems/cristi/surface_client_error
...
surface server validation errors
2022-01-03 16:11:29 +00:00
cristi8
3830706eb1
surface server validation errors
2022-01-02 11:18:56 +02:00
izzy lyseggen
f7ae62ade2
Merge pull request #149 from specklesystems/izzy/null-units-hotfix
...
fix(units): warn and don't set for invalid args
2021-12-22 09:07:40 +00:00
izzy lyseggen
38ffbc27b7
test(units): goddamnit codecov
2021-12-22 09:06:28 +00:00
izzy lyseggen
8cebccf250
fix(units): warn and don't set for invalid args
2021-12-22 09:00:39 +00:00
izzy lyseggen
17aac0b552
Merge pull request #148 from specklesystems/izzy/allow-nulls
...
feat(serialisation): allow null values
2021-12-16 16:59:51 +00:00
izzy lyseggen
c281a329a4
fix(serialisation): nulls & things ^^
2021-12-16 16:57:36 +00:00
izzy lyseggen
ca472716db
feat(serialisation): allow null values
2021-12-16 16:41:09 +00:00
izzy lyseggen
af50afe3ff
Merge pull request #144 from specklesystems/izzy/transforms-rework
...
feat(objects): transforms and blocks!
2021-12-13 12:03:50 +00:00
izzy lyseggen
b6493df77f
test(transform): serialisation and vector transform tests
2021-12-13 11:48:05 +00:00
izzy lyseggen
59d3c8c3ea
feat(objects): transform vectors & ignore fields
2021-12-13 11:47:49 +00:00
izzy lyseggen
4e3405f1fb
fix(base): props with no setter
2021-12-13 11:47:10 +00:00
Reynold Chan
3772c10b31
Create results.py
2021-12-12 13:30:50 -05:00
Reynold Chan
242be2fa60
fixed per izzy's suggestion for naming convention + circular dependency
2021-12-10 18:08:41 -05:00
izzy lyseggen
49eabdd712
test(objects): transform create w malformed input
2021-12-10 18:34:40 +00:00
izzy lyseggen
96a31f0678
test(objects): transform methods
2021-12-10 18:29:35 +00:00
izzy lyseggen
91506b0b20
feat(objects): transforms and blocks!
2021-12-10 17:52:25 +00:00
izzy lyseggen
b0de9e31b5
Merge pull request #143 from specklesystems/izzy/commits-hotfix
...
fix(client): add `branchName` to commits query
2021-12-10 11:50:24 +00:00
izzy lyseggen
2075783134
feat(models): add branchName to commit repr
2021-12-10 11:44:07 +00:00
izzy lyseggen
071f2449c3
fix(client): oopsie missing field in commit.list
...
thanks @mortenengen for the spot!
closes #142
2021-12-10 11:40:03 +00:00
izzy lyseggen
ffa4f29200
fix(structural): correct import path for Axis
2021-12-10 11:18:24 +00:00
izzy lyseggen
40a691b098
style(structural): formatting pass
...
@Reynold-Chan please use Black for code formatting to keep the style
consistent with the rest of the repo. you can set your editor to
automatically format on save
2021-12-10 11:16:38 +00:00
Reynold Chan
487ce3aeb4
structural enums for geometry
2021-12-09 08:25:34 -05:00
Reynold Chan
6c0f10ae45
loading + analysis structural python + enums
2021-12-09 03:43:18 -05:00
Reynold Chan
436b26c91c
structural geometries python classes
2021-12-08 08:47:22 -05:00
Reynold Chan
f7bac26aed
finished structural properties
2021-12-07 21:37:55 -05:00
Reynold Chan
a31c049b51
materials done
2021-12-06 14:02:52 -05:00
izzy lyseggen
a419664461
Merge pull request #140 from specklesystems/izzy/bump-deps
...
chore: update deps
2021-11-30 11:52:09 +00:00
izzy lyseggen
4a0c07009b
chore: update deps
2021-11-30 11:50:34 +00:00
Gergő Jedlicska
682bcbfa9f
Merge pull request #138 from specklesystems/gergo/ci_test_report
...
add codecov badge
2021-11-24 18:56:11 +01:00
Gergő Jedlicska
ccf284e8fa
add codecov badge
2021-11-24 18:53:44 +01:00
Gergő Jedlicska
23102a28ff
Merge pull request #137 from specklesystems/gergo/ci_test_report
...
add circle_ci reporting
2021-11-24 18:46:25 +01:00
Gergő Jedlicska
5475edb253
coverage report to xml
2021-11-24 18:28:36 +01:00
Gergő Jedlicska
c52f80c1ef
add codecov upload
2021-11-24 18:21:39 +01:00
Gergő Jedlicska
21eecfa24c
add circle_ci reporting
2021-11-24 16:47:48 +01:00
izzy lyseggen
5dde1bfcf1
Merge pull request #136 from specklesystems/izzy/stream-wrapper-fix
...
fix(wrapper): fix for nested branches
2021-11-17 16:12:42 +00:00
izzy lyseggen
82c9d874c9
test(branches): server now returns main first
2021-11-17 16:11:22 +00:00
izzy lyseggen
9acf2c8a92
fix(wrapper): fix for nested branches
2021-11-17 15:59:51 +00:00
Gergő Jedlicska
95012e60c1
Merge pull request #132 from specklesystems/commit-recieved
...
Commit recieved
2021-10-29 11:01:21 +02:00
Gergő Jedlicska
19b6500bbd
Merge branch 'main' of github.com:specklesystems/specklepy into commit-recieved
2021-10-29 10:53:28 +02:00
Gergő Jedlicska
47a06e4630
version bump
2021-10-29 10:49:36 +02:00
Alan Rynne
e5a8b40bb2
Merge pull request #131 from specklesystems/commit-recieved
...
commit recieved service implementation
2021-10-29 10:48:55 +02:00
Gergő Jedlicska
219456f5f8
circleci py310 is not working
2021-10-27 20:28:01 +02:00
Gergő Jedlicska
d1544ae89f
Merge branch 'commit-recieved' of github.com:specklesystems/specklepy into commit-recieved
2021-10-27 19:20:15 +02:00
Gergő Jedlicska
8f7d4b2ca7
add 3.10 as target
2021-10-27 19:20:04 +02:00
Gergő Jedlicska
a7d31d4983
Delete stream_copy.py
2021-10-27 19:18:45 +02:00
Gergő Jedlicska
a89b12a02c
remove receive server test
2021-10-27 19:16:08 +02:00
Gergő Jedlicska
15ae68f5d7
commit received implementation
2021-10-27 14:13:49 +02:00
izzy lyseggen
0709cd99b5
Merge pull request #129 from specklesystems/izzy/token-auth
...
feat(wrapper/transport): token auth
2021-10-22 11:21:23 +02:00
izzy lyseggen
faf06f7141
fix(server): set transport url
2021-10-21 13:12:19 +01:00
izzy lyseggen
b54e09f811
test: server transport & wrapper token auth
2021-10-21 12:20:09 +01:00
izzy lyseggen
55b7e0d732
feat(wrapper): token auth for client and transport
2021-10-21 12:19:49 +01:00
izzy lyseggen
45c922679b
feat(server): allow construction with token & url
2021-10-21 12:19:19 +01:00
izzy lyseggen
b1c149382a
Merge pull request #128 from specklesystems/izzy/cereal-fixes
...
fix(deserialisation): type check bug and brep encoding hotfix
2021-10-14 17:09:27 +02:00
izzy lyseggen
393e98c8c2
fix(encoding): add none unit type
2021-10-14 16:07:34 +01:00
izzy lyseggen
8376329cbb
fix(base): type check error with optional generics
...
reported by rob on the forum:
https://speckle.community/t/issue-with-type-checking-in-pyhton/1861
2021-10-14 15:41:30 +01:00
izzy lyseggen
1567fe9e68
fix(breps): temp hotfix for curve encoding fail
...
addresses 🥒 Bug with brep receiving (curve encoding) #127
2021-10-14 15:38:51 +01:00
izzy lyseggen
364b826a1b
Merge pull request #126 from specklesystems/izzy/metrics-hotfix
...
fix(metrics): typo in tracking send
2021-10-13 11:28:52 +02:00
izzy lyseggen
297dbab479
fix(metrics): typo in tracking send
...
i'm a dumdum
2021-10-13 10:27:58 +01:00
izzy lyseggen
81680ed766
Merge pull request #125 from specklesystems/izzy/metrics
...
metrics 🛰
2021-10-12 11:38:40 +02:00
izzy lyseggen
c934720bb0
fix(metrics): try catch whole track method
2021-10-12 10:36:38 +01:00
izzy lyseggen
9297a5df49
feat(metrics): disable in tests
2021-10-11 18:10:53 +01:00
izzy lyseggen
7b8bf49769
feat(metrics): track creds, ops, and stream events
2021-10-11 18:10:33 +01:00
izzy lyseggen
c834496b72
feat(metrics): add them! 🛰
2021-10-11 18:09:50 +01:00
izzy lyseggen
f49491611f
Merge pull request #124 from specklesystems/izzy/objects
...
fix(objects): quick geo and style edits
2021-10-04 09:39:55 +01:00
izzy lyseggen
19b83ba191
fix(objects): quick geo and style edits
2021-10-04 09:37:42 +01:00
izzy lyseggen
8d81aab1ac
Merge pull request #123 from specklesystems/izzy/server-errors
...
fix(batch sender): improve error messages
2021-10-04 08:53:40 +01:00
izzy lyseggen
16868fbf3b
fix(batch sender): improve error messages
...
for when send fails completely. previously user only got a
json decode error
2021-10-04 08:53:02 +01:00
Matteo Cominetti
00892fc838
Create close-issue.yml
2021-10-02 17:13:24 +01:00
Matteo Cominetti
4987b33de2
Create open-issue.yml
2021-10-02 17:13:09 +01:00
izzy lyseggen
766f1fa840
Merge pull request #120 from AntoineDao/geometry-chunks-serialization
...
Geometry chunks serialization
2021-09-30 11:59:28 +01:00
AntoineDao
69a5248abb
fix(brep): fix Curve2DValues.setter
2021-09-19 10:08:57 +00:00
AntoineDao
5c93e4f9dc
test(geometry): rewrite tests so they can fail
...
I noticed that the Curv2D setter had a bug which wasn't caught by tests so I rewrote them to fail first
2021-09-19 10:08:28 +00:00
AntoineDao
e20b9b73c9
fix(brep): update vertices and trim values serialization
...
It turns out that those are not serialized like the other list attributes... Which is not super helpful or consistent but oh well :D
2021-09-18 22:54:58 +00:00
AntoineDao
c06b20a963
style(comments): remove commented out code...
2021-09-18 21:56:59 +00:00
AntoineDao
5bc6b8c4ed
style(brep): use getter/setter on XValues attributes
2021-09-18 21:54:58 +00:00
AntoineDao
3005e421a6
refactor(base): use get_serializable_attributes
2021-09-18 11:47:47 +00:00
AntoineDao
8fb03972d5
fix(serialization): fix some bugs I introduced by not testing before committing...
2021-09-18 11:29:00 +00:00
AntoineDao
02702190c9
fix(object): move array encoding from datachunk to its own class
2021-09-15 23:30:59 +01:00
AntoineDao
2bd31ae954
style(lint): clean up code and update/re-order imports
2021-09-15 23:00:41 +01:00
AntoineDao
d0f8f95e4e
feat(brep): use list serializers
2021-09-12 17:43:12 +00:00
AntoineDao
fc3ae3b98e
feat(base): add 'ignore_serialize' attribute
...
This enables users to specify attributes which should not be included in object serialization but should still be public members
2021-09-12 17:42:00 +00:00
AntoineDao
a6b19025e6
feat(base): add data chunk encoding/decoding methods
...
These are helpful to iterate over chunked lists of encoded geometry objects and decode them into base objects (and vice versa)
2021-09-12 17:38:56 +00:00
AntoineDao
2be82f0874
feat(geometry): add list encoding serialization
...
Most geometry objects can be encoded and decoded from list of floats that look like protobuffs in C#. This commit simply reproduces those methods
2021-09-12 17:36:40 +00:00
izzy lyseggen
70191b97a2
docs: update readme to align with new format
2021-09-03 16:20:15 +01:00
izzy lyseggen
dd2825272d
docs: update readme to align with new format
2021-09-03 16:18:18 +01:00
izzy lyseggen
9303af6827
Merge pull request #118 from specklesystems/izzy/simpler-typing
...
feat(base): remove pydantic and roll our own type checking
2021-09-02 12:46:18 +01:00
izzy lyseggen
973dc07d5b
fix(base): little tweaks
2021-08-24 15:50:08 +01:00
izzy lyseggen
7dd5b7a2a1
test(base): type checks
2021-08-24 12:11:46 +01:00
izzy lyseggen
f259f256c7
feat(base): smol get_member fixes and others
2021-08-24 11:50:23 +01:00
izzy lyseggen
08986056a3
test(obj): quick fix
2021-08-20 13:29:21 +01:00
izzy lyseggen
f89b07eacb
feat( 🥣 ): custom base types and test fixes
2021-08-20 13:09:09 +01:00
izzy lyseggen
c973d916b3
fix(base): py 3.6 typing fix
2021-08-20 12:10:52 +01:00
izzy lyseggen
4ff6288317
feat( 🥣 ): faster get_member_names
2021-08-20 11:56:04 +01:00
izzy lyseggen
8566674f2e
Merge pull request #119 from specklesystems/izzy/cred-fix
...
fix(credentials): fix in get client
2021-08-19 18:28:09 +01:00
izzy lyseggen
1f3b6da9c7
fix(credentials): fix in get client
...
oopsie think this was a merge error
2021-08-19 18:26:44 +01:00
izzy lyseggen
5d99d5fcad
feat(serialisation): swap out json for ujson
2021-08-19 18:25:12 +01:00
izzy lyseggen
4fc07f33d0
fix(base): try fix for 3.7 and 3.6
2021-08-19 17:52:22 +01:00
izzy lyseggen
4e23a69b89
fix(base): chunk fixes
2021-08-19 17:44:50 +01:00
izzy lyseggen
04a0ddc8c4
fix(api): obj receive change w new base
2021-08-19 17:33:41 +01:00
izzy lyseggen
1b4d43e0aa
fix(base): add init w kwargs
2021-08-19 16:01:00 +01:00
izzy lyseggen
f78c8c407f
docs(base): docstring for of_type
2021-08-19 15:50:45 +01:00
izzy lyseggen
892c11f38f
fix(base): remove unused init
2021-08-19 14:13:43 +01:00
izzy lyseggen
72639bf4bb
fix(base): bypass for setting speckle_type on base
2021-08-19 13:58:25 +01:00
izzy lyseggen
b2c210abc1
fix(serialiser): pop speckle_type from obj dict
2021-08-19 13:54:23 +01:00
izzy lyseggen
2250e8a897
fix(wrapper): bug in get_client
2021-08-19 13:53:58 +01:00
izzy lyseggen
cb07f55551
feat(base): remove pydantic and diy the type check
...
- also improves performance by moving adding chunkables/detachables to
the init_subclass hook
- all inits in the geo classes have been removed
- type checking is enforced on setting attributes from the `Base` class
- unrecognised types are ignored (no type checking)
- generics are checked for the generic only, not for the args
- ints and strs are attempted to be parsed as floats,
but not the other way around
2021-08-19 12:25:03 +01:00
izzy lyseggen
d1b3d5e25e
Merge pull request #117 from specklesystems/izzy/tiny-fix
...
fix(objects): init polyline value w empty list
2021-08-12 11:51:34 +01:00
izzy lyseggen
79cca557f5
fix(objects): init polyline value w empty list
...
soz!
2021-08-12 11:49:41 +01:00
izzy lyseggen
1e6e66a90a
Merge pull request #116 from specklesystems/izzy/commit-spec
...
feat(client): add `branchName` to commit model
2021-08-11 09:24:49 +01:00
izzy lyseggen
09d84cf64a
feat(client): add branchName to commit model
2021-08-11 09:21:04 +01:00
izzy lyseggen
3ccb0ae2a8
ci: try diff env tag variable
2021-08-10 15:49:08 +01:00
izzy lyseggen
6028a38355
Merge pull request #115 from specklesystems/ci/tags-and-versions
...
ci: fix workflows and patch version with git tag
2021-08-10 15:42:42 +01:00
izzy lyseggen
07418cfc9c
ci: rename test job
2021-08-10 15:41:03 +01:00
izzy lyseggen
1ada797d81
ci: rename test job
2021-08-10 15:40:32 +01:00
izzy lyseggen
73703f6237
ci: patch version with git tag
2021-08-10 15:38:02 +01:00
izzy lyseggen
7644af22df
fix(ci): add tag filter to build job
2021-08-10 15:37:19 +01:00
izzy lyseggen
564e1d4432
Merge pull request #114 from specklesystems/izzy/stream-wrapper-update
...
feat(wrapper): add get acct helper
2021-08-10 12:34:08 +01:00
izzy lyseggen
fc4511ad02
chore: bump version
2021-08-10 12:03:06 +01:00
izzy lyseggen
ad710b72da
feat(wrapper): add acct helper
2021-08-10 12:02:42 +01:00
izzy lyseggen
041d9f56ce
ci: another workflow fix 🙃
2021-08-06 17:13:16 +01:00
izzy lyseggen
e1c0b705ad
ci: build in deploy fix
2021-08-06 17:10:55 +01:00
izzy lyseggen
7b011b1122
ci: require build in deploy step
2021-08-06 17:06:42 +01:00
izzy lyseggen
3f09cd9d77
chore: bump version
2021-08-06 17:02:19 +01:00
izzy lyseggen
29a361892b
Merge pull request #113 from specklesystems/izzy/stream-wrapper
...
🌯 Stream Wrapper with Client & Server Transport helper methods
2021-08-06 16:54:53 +01:00
izzy lyseggen
2672b40aff
ci: remove speckle-server version
2021-08-06 16:53:09 +01:00
izzy lyseggen
35b6911b27
ci: quick fix
2021-08-06 16:43:53 +01:00
izzy lyseggen
a4f0a2cc2b
feat(server): transport init exception if no token
2021-08-06 16:39:02 +01:00
izzy lyseggen
1970890ecc
test: stream wrapper tests
2021-08-06 16:38:40 +01:00
izzy lyseggen
13df5135b8
feat(credentials): stream wrapper!
...
can provide client and transport for you
2021-08-06 16:38:10 +01:00
izzy lyseggen
4e206b5c60
style: formatting
2021-08-06 16:09:12 +01:00
izzy lyseggen
e696091555
feat(client): add string repr
2021-08-06 16:08:46 +01:00
izzy lyseggen
a512dbb4e4
feat(logging): add SpeckleWarning class
2021-08-06 16:08:18 +01:00
izzy lyseggen
9a1f28516d
chore: bump version to 2.2.5
2021-07-30 11:35:43 +01:00
izzy lyseggen
92892b83d8
Merge pull request #110 from specklesystems/izzy/sql-fix
...
fix(sqlite): delay and try except transport init
2021-07-30 11:31:55 +01:00
izzy lyseggen
8904e9eeb4
docs(ops): note that sqlite is default for receive
2021-07-30 11:31:18 +01:00
izzy lyseggen
68dc1794ee
fix(sqlite): try catch initialisation of transport
2021-07-30 11:25:35 +01:00
izzy lyseggen
7e7940f25b
refactor(ops): delay init of SQLiteTransport
2021-07-30 11:25:02 +01:00
izzy lyseggen
29c97cde45
chore: bump version to 2.2.4
2021-07-29 16:14:25 +01:00
izzy lyseggen
02f4f4fe41
Merge pull request #109 from specklesystems/izzy/sql-transport
...
feat(sqlite): remove unusued queue
2021-07-29 16:12:37 +01:00
izzy lyseggen
b2dd5bfedd
feat(sqlite): remove unusued queue
2021-07-29 16:11:04 +01:00
izzy lyseggen
09b3edcc23
Merge pull request #106 from specklesystems/izzy/smol-sparkles
...
fix(base): get parent props on child serialisation
2021-07-28 18:08:00 +01:00
izzy lyseggen
a44036863d
fix(base): get units prop on children
2021-07-28 18:01:51 +01:00
izzy lyseggen
5806c032dd
feat(units): add km
2021-07-28 18:01:25 +01:00
izzy lyseggen
cff20aec54
Merge pull request #105 from specklesystems/izzy/client-docstrings
...
docs(client): add dosctring to the `SpeckleClient`
2021-07-22 09:28:04 +01:00
izzy lyseggen
144d51b147
docs(client): add dosctring to the SpeckleClient
...
as alan noted, the default one is garbo lol
hopefully this will make it clearer for users
2021-07-22 09:27:32 +01:00
izzy lyseggen
09f61a6efd
Update README.md
2021-07-22 09:15:26 +01:00
Matteo Cominetti
e61bf0f78f
Update README.md
2021-07-22 09:14:41 +01:00
izzy lyseggen
6ac72ce8ee
Merge pull request #104 from specklesystems/izzy/readme
...
docs(readme): use xyz as example host
2021-07-22 09:12:34 +01:00
izzy lyseggen
0b9ef942f5
docs(readme): use xyz as example host
2021-07-22 09:12:20 +01:00
izzy lyseggen
6988eae46f
Merge pull request #102 from specklesystems/izzy/deps-issues
...
chore(build): update to gql 3.0.0a6
2021-06-11 14:54:32 +01:00
izzy lyseggen
31fa619f82
chore(build): update to gql 3.0.0a6
2021-06-11 14:52:28 +01:00
izzy lyseggen
409ac68df0
Merge pull request #101 from specklesystems/izzy/json-acct-tweak
...
Izzy/json acct tweak
2021-06-04 17:37:25 +01:00
izzy lyseggen
81051a87c1
chore: bump version
2021-06-04 17:36:02 +01:00
izzy lyseggen
fca386706b
fix(credentials): tweak default base path
...
align with docs
2021-06-04 17:35:25 +01:00
izzy lyseggen
80036b0b98
Merge pull request #100 from specklesystems/izzy/json-accts
...
feat(credentials): read json files from local accts
2021-06-04 11:42:59 +01:00
izzy lyseggen
92c9a0882e
chore: revert yml change
2021-06-04 10:30:20 +01:00
izzy lyseggen
239c466264
chore: bump version
2021-06-04 10:24:09 +01:00
izzy lyseggen
7dd490b24f
feat(accounts): read json files from local
2021-06-04 10:23:54 +01:00
izzy lyseggen
54c3d6fbaf
chore: bump version
2021-06-02 10:12:58 +01:00
izzy lyseggen
7b7cd86f50
Merge pull request #99 from specklesystems/izzy/note-on-paths
...
docs: data paths for diff platforms
2021-05-27 18:06:39 +01:00
izzy lyseggen
3fde452d1e
docs: data paths for diff platforms
2021-05-27 18:05:26 +01:00
izzy lyseggen
113d1f1993
Merge pull request #93 from CyrilWaechter/main
...
Fix: path process error on Linux #96
2021-05-27 17:28:03 +01:00
izzy lyseggen
d2bacb9ec2
Merge pull request #98 from specklesystems/izzy/accts-hotfix
...
fix(credentials): make some fields optional
2021-05-25 15:30:14 +01:00
izzy lyseggen
d461e64b97
fix(credentials): make some fields optional
...
for simple manual account addition
2021-05-25 15:23:16 +01:00
CyrilWaechter
dc923c3105
Fix: specklesystems/speckle-blender/issues/24
2021-05-24 17:55:34 +02:00
Dimitrie Stefanescu
46437e7af4
Update README.md
2021-05-23 16:28:14 +01:00
Cristian Balas
6ba632b14d
Merge pull request #87 from specklesystems/cristi/diff_endpoints
...
switched to diff endpoints for download/upload
2021-05-18 18:42:19 +03:00
cristi8
c67eb0520e
better error handling, fixed an issue
2021-05-17 22:04:43 +03:00
izzy lyseggen
b7b171289c
Merge pull request #90 from specklesystems/izzy/nones-on-receive
...
fix(serializer): handle receiving `None` vals
2021-05-17 16:02:46 +01:00
izzy lyseggen
c4ac12d9de
fix(serializer): handle receiving None vals
2021-05-17 15:48:46 +01:00
cristi8
6abeafdd9e
Save root object after the children are saved to local transport
2021-05-17 13:37:31 +03:00
cristi8
a016ed9201
Changed parameter name
2021-05-11 19:55:24 +03:00
cristi8
9e0f71e5c0
switched to diff endpoints for download/upload
...
WARNING: not compatible with older/current released speckle servers
2021-05-11 15:53:45 +03:00
izzy lyseggen
e02c4a76e8
Merge pull request #86 from specklesystems/izzy/ci
...
Automated releases to PyPI
2021-04-30 16:04:10 +01:00
izzy lyseggen
8e14cf1904
ci: remove dry run safeguard
2021-04-30 16:02:33 +01:00
izzy lyseggen
1c868b6b60
ci: trying automated publishes
2021-04-30 15:55:37 +01:00
izzy lyseggen
809dff5fb0
build: bump minor version
...
new materials!
2021-04-30 15:44:17 +01:00
izzy lyseggen
e5074acff9
Merge pull request #85 from specklesystems/izzy/ci
...
ci: switch to poetry
2021-04-27 10:34:39 +01:00
izzy lyseggen
85d2065c29
chore: remove requirements.txt
2021-04-27 10:19:14 +01:00
izzy lyseggen
bb48054fea
ci: switch to poetry maybe? :)
2021-04-27 10:05:39 +01:00
izzy lyseggen
5a9b4137da
Merge pull request #84 from specklesystems/izzy/tests-fix
...
Fix failing tests
2021-04-22 10:05:29 +01:00
izzy lyseggen
6c7dc1eed9
tests: upload objects to each test stream
2021-04-22 09:54:23 +01:00
Alan Rynne
d47bf7d842
Merge pull request #82 from specklesystems/ci/docker-images
...
ci: Spin-up new server for each test run
2021-04-21 11:23:10 +02:00
Alan Rynne
d07bab61e7
ci: Fixes with Izzy
2021-04-21 10:05:18 +02:00
Alan Rynne
3f7290ed12
ci: Reverting
2021-04-20 20:17:01 +02:00
Alan Rynne
ed92678a31
ci: Random test with "http"
2021-04-20 20:08:14 +02:00
Alan Rynne
0428d2149f
ci: Run those tests!
2021-04-20 20:03:18 +02:00
Alan Rynne
da2d646f78
ci: Testing matrix versions
2021-04-20 20:00:06 +02:00
Alan Rynne
a6543b122f
ci: Checking build script only... 🤔
2021-04-20 19:56:34 +02:00
Alan Rynne
4e26ebfbe2
ci: First coin-flip on Spinning up a Docker server for each test
2021-04-20 19:47:44 +02:00
izzy lyseggen
4f79698987
Merge pull request #81 from specklesystems/izzy/materials
...
feat(objects): add RenderMaterial
2021-04-15 17:05:05 +01:00
izzy lyseggen
2c10134703
feat(objects): add RenderMaterial
2021-04-15 17:04:39 +01:00
izzy lyseggen
27346b6d38
Merge pull request #78 from specklesystems/izzy/rename-package
...
Rename package to `specklepy` to avoid conflicting with 1.0
2021-04-09 12:36:35 +01:00
izzy lyseggen
816f4373dd
chore: update pyproject.toml
2021-04-09 12:25:51 +01:00
izzy lyseggen
434ada8bc1
feat: rename speckle to specklepy
2021-04-09 12:25:32 +01:00
izzy lyseggen
066bc44457
Merge pull request #77 from specklesystems/izzy/datachunk-fix
...
fix(base): specify full name for datachunk
2021-03-22 17:30:08 +00:00
izzy lyseggen
633267b025
Merge pull request #76 from specklesystems/izzy/test-fix
...
test: update host to use latest.speckle.dev
2021-03-22 17:28:24 +00:00
izzy lyseggen
bd4ae7c5c5
fix(base): specify full name for datachunk
...
would bork in other connectors with name as just `DataChunk`
2021-03-22 17:28:00 +00:00
izzy lyseggen
501f9b8648
test: update host to use latest.speckle.dev
2021-03-22 15:03:22 +00:00
izzy lyseggen
7d2a03e19d
Merge pull request #74 from specklesystems/cristi/server_transport_batching
...
ServerTransport: object batching and sending from multiple background threads
2021-03-22 14:57:09 +00:00
cristi8
c6c7d1731a
ServerTransport: Added object batching and sending from multiple background threads
2021-03-22 14:24:14 +02:00
izzy lyseggen
a839073968
Merge pull request #73 from specklesystems/izzy/ops
...
feat(operations): better (de)serialize functions
2021-03-19 20:04:06 +00:00
izzy lyseggen
883ec6e6ae
feat(operations): better (de)serialize functions
...
allow providing transports to the serialize / deserialize functions
to see detaching and chunking
2021-03-19 15:18:06 +00:00
izzy lyseggen
87002257be
Merge pull request #72 from specklesystems/izzy/detached-attrs
...
feat(base): improve adding chunkables/detachables
2021-03-19 10:26:54 +00:00
izzy lyseggen
1bc0cf04f3
fix(base): grammar (detached -> detachable)
2021-03-19 10:20:17 +00:00
izzy lyseggen
d0e2350ab7
feat(base): improve adding chunkables/detachables
...
adds helper methods on `Base` that can be called in the constructors
to prevent ppl messing this up when defining their own objects
2021-03-19 10:14:42 +00:00
izzy lyseggen
255681a887
Merge pull request #70 from specklesystems/izzy/detached-lists
...
feat(serialisation): optimisations baBY
2021-03-18 18:47:28 +00:00
izzy lyseggen
614eefc393
fix(serialisation): EMBARASSING BUG
...
so i'm a bit of a dumbo here.
i didn't realise that doing `.update()` on attr would update the parent
attr as well and extend to all objects every ahhhhhh
you have to do `self.thing = self.thing + blah blah` to just update
the instance attr. the more ya know!
#roastme @cristi8
2021-03-18 18:45:24 +00:00
izzy lyseggen
d5b506f298
fix(base): swap getattr_static for getattr
...
brought serialisation time for a big object
down from 12 seconds to 1.7 seconds!!
ty cristi
2021-03-18 17:05:18 +00:00
izzy lyseggen
dcd28b5d79
feat(base): don't return set id on get_id
...
align with core in that `get_id` _always_ fully serializes to get hash
2021-03-18 16:35:28 +00:00
izzy lyseggen
c739594ba8
fix(serializer): add children count on serialize
...
this was previously done _after_ hashing leading to different hashes
on two same objects due to this one field being different
2021-03-18 16:35:28 +00:00
izzy lyseggen
1d4867fb9b
test: add detached list to FakeMesh
2021-03-18 16:35:28 +00:00
izzy lyseggen
ec94a42ac6
Merge pull request #69 from specklesystems/izzy/detached-lists
...
fix(serializer): detached lists
2021-03-18 11:09:47 +00:00
izzy lyseggen
6e64770380
test(serializer): test detachment within lists
2021-03-17 17:38:05 +00:00
izzy lyseggen
ef92127ed2
feat(serializer): support detachment within lists
...
this was a borkage on my part - oops!
2021-03-17 17:37:45 +00:00
izzy lyseggen
fb8a40bf76
Merge pull request #67 from specklesystems/izzy/objects
...
fix(serialiser): import geometry objects
2021-03-01 11:17:22 +00:00
izzy lyseggen
81fab3ec6b
fix(serialiser): import geometry objects
...
default to using our obj for deserialisation
2021-03-01 11:15:51 +00:00
izzy lyseggen
9a0c36c665
Merge pull request #66 from specklesystems/izzy/objects
...
🧊 Basic Geometry Objects
2021-02-26 18:03:41 +00:00
izzy lyseggen
995526c786
feat(objects): jk i gotchu with dem breps 😉
2021-02-26 18:01:14 +00:00
izzy lyseggen
5a66d912ae
test: update to use new geo objects
2021-02-26 16:56:49 +00:00
izzy lyseggen
78abbb18c4
feat(objects): geometry yoooo
...
all geo except for breps
2021-02-26 16:56:10 +00:00
izzy lyseggen
26abdc952a
fix(units): add new none type
2021-02-26 16:28:38 +00:00
izzy lyseggen
9a0207ba09
feat(obj): update point class
...
remove value attribute
2021-02-24 18:34:40 +00:00
izzy lyseggen
4369f8c5c8
Merge pull request #64 from specklesystems/izzy/props
...
🥠 feat(base): support serialisation of all properties
2021-02-24 17:15:18 +00:00
izzy lyseggen
bc432c2f13
feat(objects): override point type
2021-02-24 17:02:47 +00:00
izzy lyseggen
d1d3876902
feat(serializer): traverse properties as well
2021-02-24 17:02:11 +00:00
izzy lyseggen
b1b144969b
feat(base): include properties in member names
2021-02-24 17:01:32 +00:00
izzy lyseggen
4e3ee488be
refactor(operations): small simplification
2021-02-24 16:59:12 +00:00
izzy lyseggen
b2e2455b16
Merge pull request #61 from specklesystems/izzy/bug-fixes
...
🐛 Even more bug fixes!
2021-02-22 18:27:06 +00:00
izzy lyseggen
ede286f4c0
fix(serialiser): generalise receiving chunk check
2021-02-22 18:23:30 +00:00
izzy lyseggen
56547a4573
fix(client): register branches methods
2021-02-22 18:23:30 +00:00
izzy lyseggen
13886b9caf
Merge pull request #58 from gjedlicska/base_type_registration
...
Custom Base subclasses are automatically registered for deserialization
2021-02-22 18:22:08 +00:00
Gergő Jedlicska
5342cc4827
fix(recomposition): add dictionary recomposition option
...
If speckle type is not defined for an object, its recomposition results a python dictionary.
2021-02-22 19:17:09 +01:00
Gergő Jedlicska
6fe338628d
test(deserialization): undefined behavior of deserialization
...
Add failing test to uncover a possible bug in deserialization
2021-02-22 17:04:46 +01:00
Gergő Jedlicska
48883466fb
Merge branch 'main' of github.com:specklesystems/speckle-py into base_type_registration
2021-02-22 16:59:22 +01:00
izzy lyseggen
47917d99b0
Merge pull request #60 from specklesystems/izzy/receive-fix
...
🐛 fix(serialiser): smol bug fixes
2021-02-22 10:53:24 +00:00
izzy lyseggen
7703de0a37
test: unknown type deserialisation
2021-02-22 10:22:02 +00:00
izzy lyseggen
81b96cb6ac
fix(serialiser): smol bug fixes
...
- don't overwrite `speckle_type` when receiving unknown object
- check for empty lists on deserialisation
- explicit none check for ignored vals on serialisation
(was unintentionally ignoring `0`s)
2021-02-22 10:17:09 +00:00
Matteo Cominetti
2334aefb09
docs: updates readme with link to docs
2021-02-19 18:38:51 +00:00
Gergő Jedlicska
800b0018a0
style: ran formatter on codebase
2021-02-17 23:52:14 +01:00
Gergő Jedlicska
e6cf22e97a
feat(base.py): provide easy subclass type registration for (de)serialization
...
Implement automatic type register mechanism that stores all speckle Base model subclasses in a type
register for deserialization reuse in transports. This enables the Base to be useful as a base kit
object.
fix #50
2021-02-17 23:51:07 +01:00
izzy lyseggen
f5abcec6d0
Merge pull request #53 from CyrilWaechter/patch-1
...
Add infos and fix to README.md
2021-02-16 15:31:39 +00:00
Cyril Waechter
fcd54a0899
Add info to README.md
...
* Add some import to make origin of objects / module used explicit
* Fix #L118:
```python
In [46]: received_base = client.object.get(hash)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-46-8171539461b3> in <module>
----> 1 received_base = client.object.get(hash)
TypeError: get() missing 1 required positional argument: 'object_id'
```
2021-02-16 15:43:36 +01:00
Gergő Jedlicska
adfba846ce
Merge branch 'base_type_registration' of github.com:gjedlicska/speckle-py into base_type_registration
2021-02-13 14:48:10 +01:00
Gergő Jedlicska
4933ca4abf
feat(base object): enforce unique speckle_type value
...
It was possible to override the builint types with a duplicate speckle_type, either via a duplicate
class name of an explicit speckle_type definition. It is now checked before registering the new type
in the subclass registry, and a meaningful error is thrown.
2021-02-13 14:46:54 +01:00
Gergő Jedlicska
8ce595cb4a
feat(base object): enforce unique speckle_type value
...
It was possible to override the builint types with a duplicate speckle_type, either via a duplicate
class name of an explicit speckle_type definition. It is now checked before registering the new type
in the subclass registry, and a meaningful error is thrown.
#50
2021-02-13 14:45:14 +01:00
Gergő Jedlicska
1114b210f9
refactor(objects module def): remove redundant subclass discovery code
...
With the automated subclass registry, there is no need for the magic module lookup in objects
__init__
2021-02-13 14:06:32 +01:00
Gergő Jedlicska
00c1e378d5
feat(base model and deserialization): base model subclasses can now be automatically deserialized
...
Subclassing types of Base are stored in a class attribute that can be looked up via the
`speckle_type`.
fix #50
2021-02-13 10:19:12 +01:00
Gergő Jedlicska
1291b5799b
Merge branch 'main' of github.com:specklesystems/speckle-py into base_type_registration
2021-02-13 09:51:32 +01:00
izzy lyseggen
75fb2da7c2
Merge pull request #57 from specklesystems/izzy/obj-fix
...
🧺 Trash the workarounds in ops and serialiser for `speckle_type` vs `speckleType`
2021-02-12 11:33:58 +00:00
izzy lyseggen
d760fa47ec
refactor(base): more cleanup
2021-02-12 11:32:38 +00:00
izzy lyseggen
e61968d88c
refactor(ops): remove this nonsense lol
...
related to specklesystems
/
speckle-server#78
fixed in specklesystems/speckle-server@aca61b8
2021-02-12 10:57:56 +00:00
izzy lyseggen
01e3e5aa47
refactor(serializer): remove speckleType check
...
related to specklesystems
/
speckle-server#78
fixed in specklesystems/speckle-server@aca61b8
2021-02-12 10:57:35 +00:00
Gergő Jedlicska
7f2c26eb6b
refactor(test_base.py): refactor base object invalid prop tests
...
Utilizing a few pytest features to make invalid prop tests a bit sleeker
2021-02-11 22:04:20 +01:00
Gergő Jedlicska
5f35da3be9
style(black config): added explicit black config to pyproject.toml
2021-02-11 21:43:28 +01:00
Gergő Jedlicska
98c3b89d75
Merge branch 'main' of github.com:specklesystems/speckle-py into base_type_registration
2021-02-11 20:35:22 +01:00
Gergő Jedlicska
5796ff6cdb
docs(example/base_registrar.py): add example implementation for SpeckleBase class register
...
re #50
2021-02-11 20:34:35 +01:00
izzy lyseggen
df4706aa56
Merge pull request #56 from specklesystems/revert-54-delete_requirements
...
Revert "Repo housekeeping"
2021-02-11 09:15:56 +00:00
izzy lyseggen
855d499eb8
Revert "Repo housekeeping"
2021-02-11 09:13:54 +00:00
izzy lyseggen
a19ce15168
Merge pull request #55 from gjedlicska/base_validation_cleanup
...
Base object code cleanup
2021-02-11 09:09:50 +00:00
izzy lyseggen
b2d89cad21
Merge pull request #54 from gjedlicska/delete_requirements
...
Repo housekeeping
2021-02-11 08:45:58 +00:00
Gergő Jedlicska
f6c28689ce
refactor(base.py): simplify some base object methods
2021-02-11 09:35:13 +01:00
Gergő Jedlicska
5b3076b775
Merge branch 'main' of github.com:specklesystems/speckle-py into delete_requirements
2021-02-11 09:22:43 +01:00
Gergő Jedlicska
16511f8dc0
chore(.gitignore): ignore .vscode folder
2021-02-11 09:19:30 +01:00
Gergő Jedlicska
8a673a54a9
chore(.vscode): remove .vscode folder, this should not be part of version control
2021-02-11 09:18:13 +01:00
izzy lyseggen
f98b40cce3
Merge pull request #47 from specklesystems/izzy/doc-fix
...
docs: small config option for poetry venvs
2021-02-11 09:10:20 +01:00
izzy lyseggen
3a76358557
Merge pull request #48 from specklesystems/izzy/base-validation
...
☑ Base Attribute Name Validation
2021-02-09 09:51:56 +00:00
izzy lyseggen
b6b25f824e
test(base): tests for prop validaton
2021-02-05 11:23:25 +00:00
izzy lyseggen
aa032895b6
feat(base): add prop validation
...
addresses #43
2021-02-05 11:23:03 +00:00
izzy lyseggen
6f871f0523
chore: add test launch config
2021-02-05 11:22:25 +00:00
izzy lyseggen
5e7b3712b7
Merge pull request #47 from specklesystems/izzy/doc-fix
...
docs: small config option for poetry venvs
2021-02-04 16:35:16 +00:00
izzy lyseggen
1db0fca68c
docs: small config option for poetry venvs
2021-02-04 16:34:41 +00:00
izzy lyseggen
dff3496712
Merge pull request #46 from gjedlicska/python_poetry
...
Switch to pyproject.toml and Poetry
2021-02-04 16:22:22 +00:00
Gergő Jedlicska
dbcb691fbc
chore(merge remote master): merged remote main branch. Added pytest-ordering
2021-01-31 10:29:11 +01:00
Gergő Jedlicska
4572d15b10
Merge remote-tracking branch 'upstream/main' into python_poetry
2021-01-31 10:05:13 +01:00
Gergő Jedlicska
779c4e6d70
docs(readme.md): replace Developing & Debugging with poetry instructions
...
re #44
2021-01-31 07:18:03 +01:00
Gergő Jedlicska
12ba5b347e
feat(dependecy management): add basic pyproject.toml definition with python-poetry
...
This should be compatible with the current requirements.txt dependency definition.
re #44
2021-01-30 18:08:58 +01:00
izzy lyseggen
8dc3355f51
Merge pull request #42 from specklesystems/izzy/source-app
...
fix(commit): sourceapp change pyspeckle to python
2021-01-27 16:30:08 +00:00
izzy lyseggen
9e095e8673
fix(commit): sourceapp change pyspeckle to python
...
to be consistent with the other connectors
2021-01-27 16:27:04 +00:00
izzy lyseggen
089c10facd
Merge pull request #41 from specklesystems/izzy/point-example
...
🔹 Implement `Point` example class (from core objects)
2021-01-26 11:53:25 +00:00
izzy lyseggen
236d53f78a
feat(obj): finish point example
2021-01-26 11:49:36 +00:00
izzy lyseggen
257c32665e
Merge pull request #40 from specklesystems/izzy/base-props
...
😇 Base Object Improvements
2021-01-26 10:37:04 +00:00
izzy lyseggen
82f7ee6f0a
test(objects&serialisation): new base features
2021-01-26 10:04:00 +00:00
izzy lyseggen
748faf277d
feat(serialiser): check defined detachable props
2021-01-26 10:02:55 +00:00
izzy lyseggen
90f5e7602c
feat(base): add units prop with helper setter
2021-01-26 10:01:45 +00:00
izzy lyseggen
6b4dc9a6b2
fix(object): step into 'data' in get response
2021-01-26 09:53:56 +00:00
izzy lyseggen
efa8c46b61
fix(receive): step into 'data' for server receive
2021-01-26 09:53:26 +00:00
izzy lyseggen
9527425c38
Merge pull request #39 from specklesystems/izzy/local-db
...
🗃 Default to SQLiteTransport as local transport
2021-01-21 15:38:08 +00:00
izzy lyseggen
6ab9252398
test(serialisation): both sqlite & server receive
2021-01-21 15:33:06 +00:00
izzy lyseggen
661c25c8fb
test: smol tidy
2021-01-21 15:24:02 +00:00
izzy lyseggen
28ee9ec201
refactor(transports): comment out sqlite wip
2021-01-21 15:23:38 +00:00
izzy lyseggen
6155962bd8
feat(operations): swap out mem for sqlite transport
2021-01-21 15:23:24 +00:00
izzy lyseggen
607ad2c721
fix(models): make ServerInfo fields optional
2021-01-21 15:22:23 +00:00
izzy lyseggen
7866e1082e
Merge pull request #38 from specklesystems/izzy/gql-stuff
...
🕸 More GQL Queries!
2021-01-21 12:16:10 +00:00
izzy lyseggen
0bd4b3b093
refactor(stream): remove unused importts
2021-01-21 12:10:59 +00:00
izzy lyseggen
94f47eeb17
test(user): user provile updates
2021-01-21 12:10:44 +00:00
izzy lyseggen
11fee54d36
feat(user): user update
2021-01-21 12:09:50 +00:00
izzy lyseggen
b6943bbe6f
test(server): api token create and revoke
2021-01-21 11:54:45 +00:00
izzy lyseggen
8b25fa1470
feat(server): api token create and revoke
2021-01-21 11:54:36 +00:00
izzy lyseggen
617e202a02
refactor(credentials): move ServerInfo to models
2021-01-21 11:33:18 +00:00
izzy lyseggen
76da3cacfb
test(server): server get and apps
2021-01-21 11:32:46 +00:00
izzy lyseggen
b3e9f425c0
feat(server): parse ServerInfo response
2021-01-21 11:32:37 +00:00
izzy lyseggen
739837bad2
test: reoder test execution
2021-01-21 11:07:27 +00:00
izzy lyseggen
0110b5b11a
test(user): get and search
2021-01-21 11:07:08 +00:00
izzy lyseggen
0d31337350
test(stream): grant and revoke permissions
2021-01-21 11:06:01 +00:00
izzy lyseggen
12eb88819e
test: add additional test user
2021-01-21 11:05:39 +00:00
izzy lyseggen
3d7d138841
feat(stream): grant and revoke permissions
2021-01-21 11:04:27 +00:00
izzy lyseggen
60bc4df16a
test(commit): list query
2021-01-21 09:42:48 +00:00
izzy lyseggen
d99c05761d
test(branch): update and delete queries
2021-01-21 09:38:59 +00:00
izzy lyseggen
dc326e6c6b
feat(branch): update and delete queries
2021-01-21 09:38:47 +00:00
izzy lyseggen
eb10e93300
fix(branch): adjust list query
2021-01-21 09:20:08 +00:00
izzy lyseggen
64434cd7f5
test(branch): get and list queries
2021-01-21 09:16:11 +00:00
izzy lyseggen
35a121abd9
feat(branch): get and list queries
2021-01-21 09:16:11 +00:00
izzy lyseggen
fe5e7b19b0
Merge pull request #37 from specklesystems/izzy/accounts-fix
...
fix(credentials): adjust defs for py3.6 compat
2021-01-21 09:14:21 +00:00
izzy lyseggen
adae615e29
fix(credentials): adjust defs for py3.6 compat
2021-01-21 09:12:26 +00:00
izzy lyseggen
203230fd8b
Merge pull request #36 from specklesystems/izzy/ci-matrix-tests
...
🤖 ci: run tests for py 3.6 - 3.9
2021-01-20 17:03:24 +00:00
izzy lyseggen
64df2f241c
ci: run tests for py 3.6 - 3.9
2021-01-20 16:57:49 +00:00
izzy lyseggen
110f10623e
Merge pull request #35 from specklesystems/izzy/3.6-compat
...
fix: remove annotations for py 3.6 compatibility
2021-01-20 16:55:40 +00:00
izzy lyseggen
4dda9b8fe5
fix: remove annotations for py 3.6 compatibility
2021-01-20 16:53:48 +00:00
izzy lyseggen
f494a663de
Merge pull request #34 from specklesystems/izzy/ci
...
✨ setting up ci: take 2 ✨
2021-01-19 17:22:26 +00:00
izzy lyseggen
ff44f4ecb1
test: oops forgot to switch to testing.speckle.dev
2021-01-19 17:20:22 +00:00
izzy lyseggen
8da5086419
ci: upgrade pip and remove double pytest
2021-01-19 17:06:26 +00:00
izzy lyseggen
f46dd7e0c6
ci: remove test args
2021-01-19 17:03:30 +00:00
izzy lyseggen
dac3a86bcc
ci: i'm dumb and spelled config wrong
2021-01-19 17:01:29 +00:00
izzy lyseggen
c7a603ad45
Merge pull request #33 from specklesystems/revert-32-izzy/ci
...
Revert "setting up ci"
2021-01-19 17:00:24 +00:00
izzy lyseggen
aaaf323b43
Revert "setting up ci"
2021-01-19 16:58:20 +00:00
izzy lyseggen
0173e76c76
Merge pull request #32 from specklesystems/izzy/ci
...
setting up ci
2021-01-19 16:57:35 +00:00
izzy lyseggen
3c2a437f98
ci: not sure what i'm doing tbh
2021-01-19 16:50:08 +00:00
izzy lyseggen
282623ce10
Merge pull request #31 from specklesystems/izzy/tests
...
🧫 Groundwork for testing: GQL queries and serialisation
2021-01-19 16:02:27 +00:00
izzy lyseggen
0409f2c0f3
test(object): create and get
2021-01-19 15:57:08 +00:00
izzy lyseggen
12528205f5
test(branch): test create
2021-01-19 15:56:55 +00:00
izzy lyseggen
063191e961
docs(object): update docstring
2021-01-19 15:56:38 +00:00
izzy lyseggen
f9da5422c6
fix(branch): specify create return type
2021-01-19 15:55:52 +00:00
izzy lyseggen
41e66dda0d
chore: requirements & formatting
2021-01-19 12:01:05 +00:00
izzy lyseggen
5eee3fee07
TEMPfix(serialisation): get around server bug
...
will revert when fix available for specklesystems/speckle-server#78
2021-01-19 11:05:42 +00:00
izzy lyseggen
e14c42dfd1
test(serialisation): they work, yo 🥳
2021-01-19 11:04:34 +00:00
izzy lyseggen
062808c568
test: move fixtures to conf for sharing
2021-01-19 11:03:03 +00:00
izzy lyseggen
8b9f2db176
test: refactor into classes to use ordering
2021-01-19 11:02:11 +00:00
izzy lyseggen
5b458c630e
test(commits): cleanup
2021-01-19 09:30:18 +00:00
izzy lyseggen
25c4b35eb3
test(serialisation): basic and chunking
2021-01-19 09:30:18 +00:00
izzy lyseggen
21b1b2c30a
test(commits): scaffold tests
2021-01-19 09:30:18 +00:00
izzy lyseggen
1a063bbbf7
test(streams): small fixes
2021-01-19 09:30:18 +00:00
izzy lyseggen
beb550624e
test(streams): client stream operations
2021-01-19 09:30:18 +00:00
izzy lyseggen
50c6e2c840
test(config): set up tests with local server
2021-01-19 09:30:18 +00:00
izzy lyseggen
3f986fced3
Merge pull request #30 from specklesystems/izzy/dynamic-chunking
...
🧨 Dynamic prop chunking
2021-01-19 09:29:28 +00:00
izzy lyseggen
ca234536bc
feat(chunking): dynamic chunking with @() syntax
...
closes #24
2021-01-19 09:28:12 +00:00
izzy lyseggen
f155129f7c
feat(base): dynamic chunk default (1000)
2021-01-19 09:26:42 +00:00
izzy lyseggen
37d628d27b
Merge pull request #29 from specklesystems/izzy/commit-queries
...
🧜♀️ Update Commit Models & Queries
2021-01-18 15:45:49 +00:00
izzy lyseggen
7b6e0aa6ed
feat(commits): update queries and models
2021-01-18 15:43:58 +00:00
izzy lyseggen
2d449a328b
Merge pull request #28 from specklesystems/izzy/base-props
...
🥠 Support for properties
2021-01-18 15:28:12 +00:00
izzy lyseggen
ad47f649db
feat(serializer): support deserialising of props
2021-01-18 15:27:43 +00:00
izzy lyseggen
750657db19
feat(base): bypass setattr for prop setters
2021-01-18 15:27:29 +00:00
izzy lyseggen
453a2e4211
Merge pull request #27 from specklesystems/izzy/smol-fixes
...
docs(objects): update docstring & add example obj
2021-01-18 11:44:22 +00:00
izzy lyseggen
2ca184538d
docs(objects): update docstring & add example obj
2021-01-18 11:43:19 +00:00
Matteo Cominetti
79a832360b
Merge pull request #22 from specklesystems/docs
...
feat: removes links to slack
2021-01-06 16:49:06 +00:00
Matteo Cominetti
b2945ad3ff
feat: removes links to slack
2021-01-06 16:48:45 +00:00
izzy lyseggen
3e7b620e1e
Merge pull request #17 from specklesystems/izzy/chunking
...
🍰 Chunking of long lists
2020-12-24 11:45:06 +00:00
izzy lyseggen
028ca641ef
fix(serialisation): some quick fixes
2020-12-24 11:38:44 +00:00
izzy lyseggen
11bc10d072
feat(base): get id method
2020-12-24 11:37:47 +00:00
izzy lyseggen
28e68e090c
fix(objects): remove duplicate prop defs
2020-12-23 18:32:37 +00:00
izzy lyseggen
6eb73555ed
feat(objects): mesh obj for chunk testing
2020-12-23 18:32:37 +00:00
izzy lyseggen
e6727a9552
fix(chunking): delay chunk check to handle_value
2020-12-23 18:32:37 +00:00
izzy lyseggen
b36e7e000f
feat(chunking): initial chunking implementation
2020-12-23 18:32:36 +00:00
izzy lyseggen
2dba909eba
feat(objects): import all obj classes
2020-12-23 18:32:36 +00:00
izzy lyseggen
21abd5181a
fix(base): make chunkable prop protected
2020-12-23 18:32:36 +00:00
izzy lyseggen
969b6a92e5
fix(memory): remove redundant serialisation
2020-12-23 18:32:36 +00:00
izzy lyseggen
77dcf53c4b
feat(chunking): add DataChunk class
2020-12-23 18:32:36 +00:00
izzy lyseggen
7fbfdb4b92
fix(base): always use class name for string repr
2020-12-23 18:32:36 +00:00
izzy lyseggen
a4f7ce326e
feat(Base): add chunks prop
2020-12-23 18:32:36 +00:00
izzy lyseggen
a3830a95fd
feat(Base): self populate speckleType
2020-12-23 18:32:36 +00:00
izzy lyseggen
78068d0098
fix(transports): inherit from ABC
...
fix(transports): inherit from `ABC`
2020-12-23 18:32:09 +00:00
izzy lyseggen
36d5abf7d4
fix(transports): inherit from ABC
2020-12-23 18:31:00 +00:00
izzy lyseggen
bce4490882
Merge pull request #18 from gjedlicska/deffered_type_hints
...
refactor(abstract_transport): add deferred type hints
2020-12-23 18:28:56 +00:00
izzy lyseggen
6d4fc17b4c
Merge branch 'main' into deffered_type_hints
2020-12-23 18:28:09 +00:00
izzy lyseggen
827df8e574
Merge pull request #20 from specklesystems/izzy/transports-refactor
...
refactor(transports): inherit from `BaseModel`
2020-12-23 18:24:23 +00:00
izzy lyseggen
075d77fea6
refactor(transports): inherit from BaseModel
...
resolves #19
2020-12-23 18:21:33 +00:00
Gergő Jedlicska
6b276243de
mend
2020-12-23 18:42:22 +01:00
Gergő Jedlicska
e671a6d086
refactor(abstract_transport.py): added deffered type hints to AbstractTransport
...
Python type hint evaluation can be deffered by enclosing the type hint in quotes. This renders the
Transport class useless, while still keeping the functionality. Plus you asked for it :D
2020-12-23 17:40:58 +01:00
izzy lyseggen
824c0d8401
Merge pull request #16 from specklesystems/izzy/fix-base
...
fix(Base): rename `speckleType` 👉 `speckle_type`
2020-12-22 11:29:31 +00:00
izzy lyseggen
48e4ad1e93
feat(models): some string overrides
2020-12-22 11:27:37 +00:00
izzy lyseggen
cf2c9d12a5
fix(Base): speckleType 👉 speckle_type
2020-12-22 11:27:21 +00:00
Matteo Cominetti
578ffdb8c5
Merge pull request #15 from specklesystems/osx
...
Osx
2020-12-09 15:46:27 +00:00
Matteo Cominetti
f58c13c0d1
Merge commit 'c8210342c2a6f9097fc00bd8e04a7d198ab3e2ce' into osx
2020-12-09 15:45:30 +00:00
izzy lyseggen
c8210342c2
Merge pull request #14 from specklesystems/izzy/docs-links
...
📘 docs: updates and add links to forum
2020-12-09 12:56:24 +00:00
izzy lyseggen
c6d6a3e025
docs: updates and add links to forum
2020-12-09 12:55:48 +00:00
izzy lyseggen
ba7911bcf5
Merge pull request #3 from specklesystems/izzy/transports
...
🏄♀️ Server transport
2020-12-09 12:22:41 +00:00
izzy lyseggen
2e428f9b3c
feat(server): raise exception for get_object()
...
this is not implemented. direct user to use the client
2020-12-09 12:20:19 +00:00
izzy lyseggen
3c8aff3487
feat(server): wip get obj
2020-12-09 12:16:50 +00:00
izzy lyseggen
9657bd370c
feat(server): save obj from transport
2020-12-09 12:16:50 +00:00
izzy lyseggen
fd0d04b70e
feat(server): successfully receive objects!
2020-12-09 12:16:50 +00:00
izzy lyseggen
7310fbfdd4
fix(abstract transport): typo
2020-12-09 12:16:50 +00:00
izzy lyseggen
90cae9a3c5
fix(memory): return string obj from get
2020-12-09 12:16:50 +00:00
izzy lyseggen
01091405d1
fix(serialiser): extra checks for errors
2020-12-09 12:16:50 +00:00
izzy lyseggen
cff738aa31
feat(transports): wip server transport
2020-12-09 12:16:50 +00:00
izzy lyseggen
30a3cd8f05
Merge pull request #13 from specklesystems/izzy/host-input
...
🧼 fix(client): sanitise host input
2020-12-09 12:15:54 +00:00
izzy lyseggen
c9746a6d57
fix(client): sanitise host input
...
remove protocol and trailing slash
2020-12-09 12:14:23 +00:00
izzy lyseggen
251f8fb330
Merge pull request #12 from specklesystems/izzy/fix-errormsg
...
🏮 fix(exceptions): add string override
2020-12-09 11:41:38 +00:00
izzy lyseggen
0b74502dd7
fix(exceptions): add string override
...
do classes no longer default to the `__repr__` override?
to investigate...
2020-12-09 11:38:58 +00:00
izzy lyseggen
a06e682698
Merge pull request #10 from specklesystems/izzy/fix-macospath
...
💾 fix(sqlite): get correct db base path on macos
2020-12-09 09:24:02 +00:00
izzy lyseggen
f258de4794
fix(sqlite): get correct db base path on macos
...
closes #9
2020-12-09 09:22:13 +00:00
Matteo Cominetti
9320b566f3
docs: adds venv instructions for unix systems
2020-12-08 10:57:53 +00:00
izzy lyseggen
79ac5366a6
docs: fix some typos
2020-12-07 17:42:17 +00:00
izzy lyseggen
6cc909ddd9
Merge pull request #8 from specklesystems/izzy/docs
...
📘 Basic documentation in readme
2020-12-07 11:44:13 +00:00
izzy lyseggen
0dca458a0a
docs: some more comments
2020-12-07 11:42:24 +00:00
izzy lyseggen
e92562ccf3
docs: more samples and text descriptions
2020-12-07 11:35:21 +00:00
izzy lyseggen
6ae95e0f9c
docs: wip add some code samples
2020-12-07 10:52:57 +00:00
izzy lyseggen
32954964f0
Merge pull request #7 from specklesystems/izzy/gql
...
🎁 More gql functions
2020-12-07 10:07:43 +00:00
izzy lyseggen
2f8ecf7430
feat(object): object get and create
2020-12-07 10:06:46 +00:00
izzy lyseggen
ad0a01c5ce
fix(commit): add return type to create
2020-12-07 10:06:15 +00:00
izzy lyseggen
def3d3c27b
feat(commit): update and delete
2020-12-07 09:41:42 +00:00
izzy lyseggen
6cde8d6e8a
feat(commits): commit create
2020-12-07 09:30:50 +00:00
izzy lyseggen
d63d24201e
feat(gql): add some commit and obj functions
2020-12-04 15:55:51 +00:00
izzy lyseggen
dd5b355305
fix(base): speckle_type 👉 speckleType
2020-12-04 15:54:45 +00:00
izzy lyseggen
db7ef190fd
Merge pull request #4 from specklesystems/izzy/accounts
...
🙋♀️ Get local accounts
2020-12-02 09:52:41 +00:00
izzy lyseggen
c20c805e19
feat(accounts): handle if no default found
2020-12-02 09:45:13 +00:00
izzy lyseggen
665f6b8c32
feat(accounts): get all local and default accounts
2020-12-02 09:37:37 +00:00
izzy lyseggen
9f5c453228
feat(sqlite): get correct path on diff platforms
2020-12-02 09:37:02 +00:00
izzy lyseggen
3d7fc85a79
Merge pull request #2 from specklesystems/izzy/transports
...
🥣 Serialisation and a start on transports
2020-12-01 17:14:10 +00:00
izzy lyseggen
99a80ba85e
feat(operations): add checks for null remote
2020-12-01 15:14:44 +00:00
izzy lyseggen
5d059b6770
feat(transports): pass get obj None checks to user
...
also adds copy obj and children method
2020-12-01 15:11:02 +00:00
izzy lyseggen
ee22740a93
feat(serialisation): check for tuples
2020-12-01 14:45:46 +00:00
izzy lyseggen
0e2105c56e
feat(sqlite): make connection and queue private
2020-12-01 08:52:55 +00:00
izzy lyseggen
1d7b120f26
feat(deserialisation): from memory transport
2020-11-30 19:00:37 +00:00
izzy lyseggen
b00cc3d08e
feat(base): to_dict convenience method
2020-11-30 18:39:24 +00:00
izzy lyseggen
de4ea698b8
feat(serialisation): update detach helper
2020-11-30 16:59:31 +00:00
izzy lyseggen
91bf8c111d
feat(base): add string override
2020-11-30 16:43:09 +00:00
izzy lyseggen
72dfd4807e
feat(serialization): simplify logic and align with core
...
only allow detaching of base objects
2020-11-30 16:42:24 +00:00
izzy lyseggen
e2079ff6a9
fix(memory): typo in memory transport
2020-11-30 10:41:57 +00:00
izzy lyseggen
cb5cbeaad6
feat(base): allow kwargs in initialisation
2020-11-30 10:12:07 +00:00
izzy lyseggen
18744d218a
fix(serialization): match referencedId prop name
2020-11-30 09:37:21 +00:00
izzy lyseggen
5f05e9853f
feat(serialization): hook up with transports
2020-11-27 18:32:42 +00:00
izzy lyseggen
7295689e12
feat(operations): implement send
2020-11-27 18:31:33 +00:00
izzy lyseggen
09ce21e475
docs(serialization): function descriptions
2020-11-27 16:17:39 +00:00
izzy lyseggen
3ff444aa52
refactor(serialisation): clean up traverse_base
2020-11-27 15:21:11 +00:00
izzy lyseggen
799d9428ec
fix(serialisation): closures in lists/dicts
2020-11-27 14:40:16 +00:00
izzy lyseggen
ea8be095ed
feat(serialization): handle nested base objects
...
base objects in lists and dicts
TODO: fix closures on these nested base objects
2020-11-26 19:27:53 +00:00
izzy lyseggen
135c7215f5
feat(exceptions): add SerializationException
2020-11-26 18:26:05 +00:00
izzy lyseggen
eee726e252
feat(serialisation): closures & handle iterables
...
- add '__closures' to each object
- construct the full closure table as dict
- handle lists and dicts as detachable child objects
2020-11-26 18:25:44 +00:00
izzy lyseggen
79dba3318f
refactor(serialisation): simplify loop
2020-11-26 11:51:29 +00:00
izzy lyseggen
60d253343c
fix(serialization): write detached or root obj
...
to transport. keep non-detached objects saved within the parent only
2020-11-26 10:26:27 +00:00
izzy lyseggen
2ea43d54d6
fix(serialization): fix the final object key order
2020-11-26 09:51:08 +00:00
izzy lyseggen
37480b1c9e
feat(serialization): create closure table
2020-11-25 22:04:48 +00:00
izzy lyseggen
b1660d5dbf
feat(serialiZation): wip traversing base dict
2020-11-25 20:05:05 +00:00
izzy lyseggen
8b48167dca
feat(ops): scaffolding
2020-11-25 20:01:44 +00:00
izzy lyseggen
f3dbddb6e1
feat(transports): memory transport
2020-11-25 11:30:32 +00:00
izzy lyseggen
19da6c0f5f
feat(transports): begin and end write functions
2020-11-25 11:30:17 +00:00
izzy lyseggen
a8c75b0000
feat(transports): wip sqlite transport
...
not quite working how i want yet
2020-11-24 09:19:52 +00:00
izzy lyseggen
4e8c3cbb08
feat(transports): abstract base
2020-11-23 18:33:03 +00:00
izzy lyseggen
d01d7824bc
feat(base): get total children count
2020-11-19 16:02:32 +00:00
izzy lyseggen
f643ee8e89
refactor(base): simplify get_dynamic_member_names
2020-11-19 11:58:28 +00:00
izzy lyseggen
9a27ed1544
feat(base): start Base object with dict set/get
2020-11-19 09:24:13 +00:00