Commit Graph

247 Commits

Author SHA1 Message Date
dc432a1238 removing python 3.8 support 2023-09-19 18:16:14 +02:00
c182e11527 updating pydase.units 2023-09-19 18:16:14 +02:00
fe5b6c591d fix: flake8 errors 2023-09-19 18:16:14 +02:00
f948605b58 feat: adding support for python 3.8, 3.9 2023-09-19 18:16:14 +02:00
55ab705542 feat: adding publish workflow 2023-09-19 14:30:36 +02:00
c970ae89d0 docs: updating image 2023-09-14 10:31:15 +02:00
23ef229eb1 frontend: removes unused import 2023-09-14 10:29:23 +02:00
cb94068faf Merge pull request #19 from tiqi-group/14-spin-box-buttons-not-working
Removes buttons from number components.
2023-09-14 10:26:56 +02:00
2ce8ace227 docs: updating readme 2023-09-14 10:24:55 +02:00
ee124ead89 removes buttons from number components 2023-09-14 10:17:25 +02:00
bbee77e231 feat: adds simple functionality to buttons in number component 2023-09-14 10:12:51 +02:00
27520864c4 frontend: 'instant update' defaults to false 2023-09-14 08:35:10 +02:00
e743d89f2e Merge pull request #18 from tiqi-group/15-highlighted-digits-not-overwritten-when-typing-in-spin-boxes
feat: highlighted digits are overwritten in number components
2023-09-14 08:30:50 +02:00
050a718e44 feat: highlighted digits are overwritten in number components 2023-09-14 08:28:38 +02:00
d2b9dd832f Merge pull request #17 from tiqi-group/13-superfluous-parameter-access-when-using-service-persistence
13 superfluous parameter access when using service persistence
2023-09-13 18:06:29 +02:00
d5cb1a1478 fix: ignoring flake8 error 2023-09-13 18:02:50 +02:00
82f8e1f90c test: adding additional helpers test 2023-09-13 18:01:40 +02:00
c12bb87b2b feat: removing superfluous property accesses 2023-09-13 17:56:23 +02:00
6eafe07ac7 Merge pull request #12 from tiqi-group/1-exception-handling-in-tasks
adds task_done_callback to each task
2023-08-18 16:26:34 +02:00
76fb674fcd adds task_done_callback to each task
The task_done_callback function handles exceptions and emitting
a notification when the task has finished.
2023-08-18 16:25:13 +02:00
e86fd1ffbe fix: intercepting rpyc-handled errors 2023-08-18 16:20:12 +02:00
0626500cdd Removing pydase/utils/logging.py from pytest coverage report
Changing the environment variable "ENVIRONMENT" does not change the
confz configuration. Additionally, the setup_logging file is removing
any loggers (line 61). With this, caplog with loguru doesn't work as we
are already using some sort of hack to get the loguru logs with pytest.
We can therefore not test if the setup_logging function works as
expected.
2023-08-17 17:42:47 +02:00
fab526a679 Updates python environment 2023-08-17 17:11:41 +02:00
ea621c7c4b updates github workflow (pyright test) 2023-08-17 17:09:20 +02:00
60984b6e13 fix: pyright error in helpers.py 2023-08-17 17:08:05 +02:00
08e0c59ad7 defines environment variables in vscode launch settings 2023-08-17 17:07:47 +02:00
f132d71f60 feat: adds logging setup
- logging can now be configured using the setup_logging function and
  using the ENVIRONMENT env variable.
- using InterceptHandler to intercept standard logging towards the
  loguru sink
- forcing uvicorn to use the same handler
2023-08-17 17:05:44 +02:00
fb6fac5f9a allways mount frontend files at port 8001
- files were previously only mounted when in production mode
2023-08-17 16:41:40 +02:00
a2ce2e1116 update version.py to use metadata 2023-08-17 15:47:42 +02:00
29ebc566bb tests: adds some utils.helpers tests 2023-08-17 11:16:34 +02:00
b275446960 adapts slider frontend component (highlights pressed settigns button) 2023-08-17 11:15:39 +02:00
24f35245bb Update issue templates 2023-08-17 10:14:45 +02:00
55620bc6e7 make Image collapsible in frontend 2023-08-16 11:14:52 +02:00
6749603fee updating backend Image component
- using matplotlib typing instead of Figure class
- added some checks and logs
2023-08-16 11:02:59 +02:00
ecedcfd852 update python environment 2023-08-16 10:53:27 +02:00
245db9aa8f Add load_ options for Image component 2023-08-15 18:12:21 +02:00
3a560e3364 update how to read from json serialization file 2023-08-14 16:29:05 +02:00
d94b85f305 feat: updating serialization of functions 2023-08-10 15:48:45 +02:00
06f93c110e fixing tests 2023-08-10 15:10:05 +02:00
a00e2fbca7 Updating python environment
- adding pillow to manipulate images
2023-08-10 15:08:47 +02:00
f7579c3a89 feat: components implement their notifications now
- removing nestedObjectUtils and useNotification hook
- passing addNotification method to all components
- components can use the addNotification method to create their
  notifications
2023-08-10 15:07:49 +02:00
8205e4d463 chore: changing parent_path to parentPath 2023-08-10 14:24:30 +02:00
04e0e9e8b2 feat: updating useNotification hook
- automatically generates id and timestamp
- components just have to provide a message
2023-08-10 11:05:07 +02:00
6e4909ece5 feat: adding support for union type hint serialization 2023-08-10 10:48:20 +02:00
48dd4d58b7 feat (frontend): adding useNotification hook 2023-08-10 10:47:22 +02:00
a333de9957 feat: updating ImageComponent
- adding format
- adding method to read image from file
- adding method to load image from base64 byte string
2023-08-10 10:43:38 +02:00
8d55f3b853 feat: adding first version of Image component 2023-08-09 17:48:27 +02:00
4d66b6b27c feat: updating doc of attributes
Docs will only be serialized when its different from the
documentation of its type.
2023-08-09 16:49:14 +02:00
d8aa944e6d using helper function to get component class names
The type of the DataService instance (and instances of derived classes)
should always be "DataService" unless it is a component.
Also changing some logic.
2023-08-09 16:26:33 +02:00
304f2a7d91 fix: adding readonly keys to json serialization
- enums and methods didn't have that key so far
2023-08-09 15:48:49 +02:00