docs: update docstrings (#565)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from typing import Any, Dict
|
||||
|
||||
from embedchain.helper_classes.json_serializable import JSONSerializable
|
||||
|
||||
|
||||
@@ -7,7 +9,13 @@ class BaseConfig(JSONSerializable):
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
"""Initializes a configuration class for a class."""
|
||||
pass
|
||||
|
||||
def as_dict(self):
|
||||
def as_dict(self) -> Dict[str, Any]:
|
||||
"""Return config object as a dict
|
||||
|
||||
:return: config object as dict
|
||||
:rtype: Dict[str, Any]
|
||||
"""
|
||||
return vars(self)
|
||||
|
||||
Reference in New Issue
Block a user