-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: authorise agent module #49
base: demo
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
platform-dependent-components/problem-solver/py/modules/authoriseModule/AuthoriseModule.py
Outdated
Show resolved
Hide resolved
platform-dependent-components/problem-solver/py/modules/authoriseModule/AuthoriseUserAgent.py
Outdated
Show resolved
Hide resolved
platform-dependent-components/problem-solver/py/modules/authoriseModule/AuthoriseUserAgent.py
Outdated
Show resolved
Hide resolved
platform-dependent-components/problem-solver/py/modules/authoriseModule/AuthoriseUserAgent.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
и всё ещё не авторизовывает с первой попытки
@@ -0,0 +1,8 @@ | |||
from sc_kpm import ScModule | |||
|
|||
from .AuthoriseUserAgent import AuthoriseUserAgent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
from .AuthoriseUserAgent import AuthoriseUserAgent | |
from .authorise_user_agent import AuthoriseUserAgent |
ну не работает же
def _validate_input_args(self, email: str, password: str) -> int: | ||
# TODO: validate using regexp | ||
if email == "" or password == "": | ||
return 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
валидировать надо в первую очередь сами узлы, а не их контент. Есть метод is_valid() у ScAddr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.