Skip to content

Commit 79d844d

Browse files
authored
Migrate to platform APIs (#54)
Reapplies #47
1 parent 8ee855c commit 79d844d

Some content is hidden

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

41 files changed

+748
-1336
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright 2024 ENLYZE GmbH <hello@enlyze.com>
1+
Copyright 2025 ENLYZE GmbH <hello@enlyze.com>
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this
44
software and associated documentation files (the "Software"), to deal in the Software

README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ so:*
6565
6666
$ export PYENCHANT_LIBRARY_PATH=/opt/homebrew/lib/libenchant-2.dylib
6767
68-
6968
Examples
70-
--------------------------------
71-
You can find examples of how to use the Python SDK here: `Notebooks <examples/notebooks>`_
69+
--------
7270

71+
You can find examples of how to use the Python SDK here: `Notebooks
72+
<examples/notebooks>`_

docs/api_client/client.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Platform API Client
2+
===================
3+
4+
.. currentmodule:: enlyze.api_client.client
5+
6+
.. autoclass:: PlatformApiClient()
7+
:members:
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Timeseries API
2-
==============
1+
API Client
2+
==========
33

44
.. toctree::
55
:maxdepth: 1

docs/api_clients/production_runs/models.rst renamed to docs/api_client/models.rst

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
Models
22
======
33

4-
.. currentmodule:: enlyze.api_clients.production_runs.models
4+
.. currentmodule:: enlyze.api_client.models
55

6-
.. autoclass:: ProductionRunsApiModel()
6+
.. autoclass:: PlatformApiModel()
77

8-
.. autoclass:: ProductionRun()
8+
.. autoclass:: Site()
99
:members:
1010
:undoc-members:
1111
:exclude-members: model_config, model_fields
@@ -17,6 +17,24 @@ Models
1717
:exclude-members: model_config, model_fields
1818
:show-inheritance:
1919

20+
.. autoclass:: Variable()
21+
:members:
22+
:undoc-members:
23+
:exclude-members: model_config, model_fields
24+
:show-inheritance:
25+
26+
.. autoclass:: TimeseriesData()
27+
:members:
28+
:undoc-members:
29+
:exclude-members: model_config, model_fields
30+
:show-inheritance:
31+
32+
.. autoclass:: ProductionRun()
33+
:members:
34+
:undoc-members:
35+
:exclude-members: model_config, model_fields
36+
:show-inheritance:
37+
2038
.. autoclass:: Quantity()
2139
:members:
2240
:undoc-members:

docs/api_clients/base.rst

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs/api_clients/index.rst

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/api_clients/production_runs/client.rst

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/api_clients/production_runs/index.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/api_clients/timeseries/client.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)