-
Notifications
You must be signed in to change notification settings - Fork 0
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(pydantic-settings): Initializes the pydantic settings for rio config-trees #2
base: devel
Are you sure you want to change the base?
Conversation
field: FieldInfo, | ||
field_name: str, | ||
) -> Tuple[Any, str, bool]: | ||
return "dummy_val", "dummy_val", False |
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.
why dummy_val ? we need to extract the field_name corresponding value from configtree fetched from upstream right ?
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.
@YaswanthKumar-eng ignore above comment, in the call method we are creating the dict which should be enough to get the complete dict, i think without overriding the get_field_value pydantic throws an error
dist/ | ||
wheels/ | ||
*.egg-info | ||
|
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.
todo: add .idea
to this file.
[project] | ||
name = "rapyuta-io-sdk-v2" | ||
version = "0.1.0" | ||
description = "Version:2 for Rapyuta.io SDK" |
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.
description = "Version:2 for Rapyuta.io SDK" | |
description = "A Python SDK for rapyuta.io v2 APIs" |
|
||
class AsyncClient(Client): | ||
|
||
def __init__(self,config): |
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.
todo: Run a Reformat
on the entire code in Pycharm. That should fix all the formatting.
def __init__(self,config): | |
def __init__(self, config): |
This pr relates to initializes the pydantic settings for rapyuta_io config trees configurations for easy config management.