Skip to content

Commit e00f22b

Browse files
authored
Visual improvements, compatibility (#465)
* VIsual changes to strcture * Remove unused module * h * Looks, compatibility with older version (partial) * fix missing argument * Documentation * VERSION
1 parent c23749d commit e00f22b

23 files changed

+243
-84
lines changed
16.4 KB
Loading
46.6 KB
Loading
37 KB
Loading
44.8 KB
Loading
44 KB
Loading
16.7 KB
Loading

docs/source/guide/GUI/schema.rst

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Depending on the datatype each parameter accepts, we can either:
7878
:align: center
7979
:height: 300
8080

81-
2. Create new value by clicking on the button on the right side of the dropdown and clicking *New <datatype>*,
81+
2. Create new value by clicking on the menu button *New* and then select the type you want to define.
8282
which will open another definition frame.
8383

8484
.. grid:: 2
@@ -96,10 +96,7 @@ Depending on the datatype each parameter accepts, we can either:
9696

9797

9898

99-
3. Edit a value (selected in the dropdown) by clicking on the button on the right side of the dropdown and clicking
100-
*Edit selected*, which will open a new definition frame for the specific datatype and load in the previously defined
101-
values.
102-
99+
3. Edit current value by clicking on 🖋️ button.
103100

104101
.. grid:: 2
105102

@@ -199,6 +196,10 @@ We can also define what type of logging DAF will use to log sent messages and th
199196
To configure a logger we can select the wanted logger and click on the *Edit* button,
200197
located on the right side of the 1st dropdown menu.
201198

199+
.. image:: images/open-logger-definition.png
200+
:align: center
201+
:width: 15cm
202+
202203
.. image:: images/gui-logger-definition-edit-json.png
203204
:align: center
204205
:width: 15cm

requirements/mandatory.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ aiohttp>=3.6.0,<3.9.0
22
aiohttp_socks==0.8.3
33
typeguard==2.13
44
typing_extensions>=4,<5; python_version < "3.11"
5-
tkinter-async-execute==1.1.0
5+
tkinter-async-execute==1.2

src/daf/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@
1717
from .remote import *
1818

1919

20-
VERSION = "3.0.0rc0"
20+
VERSION = "3.0.0rc1"

src/daf/client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ def update(self, **kwargs) -> asyncio.Future:
371371
if self._running:
372372
return self._event_ctrl.emit(EventID.account_update, **kwargs)
373373
else:
374-
return self._on_update(self, **kwargs)
374+
return self._on_update(**kwargs)
375375

376376
# Non public methods
377377
def _delete(self):
@@ -506,6 +506,7 @@ async def _on_update(self, **kwargs):
506506
await self.initialize() # re-login
507507
raise
508508

509+
509510
# Cleanup
510511
async def _close(self):
511512
"""

0 commit comments

Comments
 (0)