language models updated

This commit is contained in:
2025-01-27 13:00:21 +03:00
parent bc300f727a
commit e403993d24
9 changed files with 124 additions and 123 deletions

View File

@@ -46,6 +46,7 @@ AuthenticationLoginEventMethods = MethodToEvent(
description="Login to the system via domain, access key : [email] | [phone]",
)
def authentication_login_with_domain_and_creds_endpoint(
request: Request,
data: EndpointBaseRequestModel,
@@ -78,11 +79,12 @@ def authentication_select_company_or_occupant_type(
"""
Select company or occupant type.
"""
auth_dict = authentication_select_company_or_occupant_type.auth
auth_context = authentication_select_company_or_occupant_type.auth_context
function = AuthenticationSelectEventMethods.retrieve_event(
event_function_code=f"{authentication_select_company_or_occupant_type_super_user_event.key}"
)
return function.endpoint_callable(request=request, data=data, token_dict=auth_dict)
function.endpoint_callable.auth_context = auth_context
return function.endpoint_callable(request=request, data=data)
AuthenticationSelectEventMethods.endpoint_callable = authentication_select_company_or_occupant_type