Skip to content

Commit c7feee5

Browse files
committed
Add missing dependency typing-extensions.
1 parent 286c9f8 commit c7feee5

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎usr/lib/python3/dist-packages/linuxmusterCli/requirements.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ pyyaml
55
rich
66
termcolor
77
typer
8-
8+
typing-extensions

‎usr/lib/python3/dist-packages/linuxmusterCli/typers/students.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ def reset_internet(
2323

2424
if schoolclass:
2525
students = [student
26-
for student in lr.get('/rawroles/student', school=school, as_dict=False)
26+
for student in lr.get('/rawroles/student', school=school, dict=False)
2727
if student.sophomorixAdminClass in schoolclass]
2828
else:
29-
students = lr.get('/rawroles/student', school=school, as_dict=False)
29+
students = lr.get('/rawroles/student', school=school, dict=False)
3030

3131
internet_group = LMNMgmtGroup('internet')
3232

‎usr/lib/python3/dist-packages/linuxmusterCli/typers/user.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ def ls(
2828
user = user.lower()
2929

3030
if school is not None:
31-
kwargs = {"school": school, 'as_dict': False}
31+
kwargs = {"school": school, 'dict': False}
3232
else:
33-
kwargs = {'as_dict': False}
33+
kwargs = {'dict': False}
3434

3535
if user.endswith("-exam"):
3636
user_obj = lr.get(f'/users/exam/{user}', **kwargs)
3737
else:
3838
user_obj = lr.get(f'/users/{user}', **kwargs)
3939

40-
user_data = user_obj.as_dict()
40+
user_data = user_obj.asdict()
4141

4242
if check_first_password:
4343
if user_obj.test_first_password():

0 commit comments

Comments
 (0)