mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
фикс авторизации5
This commit is contained in:
@@ -55,4 +55,12 @@ async def admin_login(
|
||||
return {
|
||||
"access_token": access_token,
|
||||
"token_type": "bearer"
|
||||
}
|
||||
}
|
||||
|
||||
def find_unique(nested, threshold):
|
||||
unique = set() # Создаем пустое множество
|
||||
for sublist in nested:
|
||||
for num in sublist:
|
||||
if num > threshold:
|
||||
unique.add(num)
|
||||
return unique
|
Reference in New Issue
Block a user