nb_cli.config
abstract class LocalConfig(*args, **kwargs)
ๅๆฐ
*args
**kwargs
method add_adapter(self, adapter_name)
ๅๆฐ
adapter_name
(str)
่ฟๅ
- Unknown
method add_builtin_plugin(self, plugin_name)
ๅๆฐ
plugin_name
(str)
่ฟๅ
- Unknown
method add_plugin(self, plugin_name)
ๅๆฐ
plugin_name
(str)
่ฟๅ
- Unknown
method add_plugin_dir(self, dir_name)
ๅๆฐ
dir_name
(str)
่ฟๅ
- Unknown
abstract method append(self, key, value)
ๅๆฐ
key
(str)value
(Any)
่ฟๅ
- Unknown
abstract method get(self, key)
ๅๆฐ
key
(str)
่ฟๅ
- Unknown
method get_adapters(self)
่ฟๅ
- Unknown
method get_builtin_plugins(self)
่ฟๅ
- Unknown
method get_scripts(self)
่ฟๅ
- dict[str, str]
abstract method print(self)
่ฟๅ
- Unknown
abstract method remove(self, key, value)
ๅๆฐ
key
(str)value
(Any)
่ฟๅ
- Unknown
method remove_adapter(self, adapter_name)
ๅๆฐ
adapter_name
(str)
่ฟๅ
- Unknown
method remove_builtin_plugin(self, plugin_name)
ๅๆฐ
plugin_name
(str)
่ฟๅ
- Unknown
method remove_plugin(self, plugin_name)
ๅๆฐ
plugin_name
(str)
่ฟๅ
- Unknown
method remove_plugin_dir(self, dir_name)
ๅๆฐ
dir_name
(str)
่ฟๅ
- Unknown
abstract method unset(self, key)
ๅๆฐ
key
(str)
่ฟๅ
- Unknown
abstract method update(self, key, value)
ๅๆฐ
key
(str)value
(Any)
่ฟๅ
- Unknown
class TOMLConfig(file)
ๅๆฐ
file
(str)
method append(self, key, value)
ๅๆฐ
key
(str)value
(Any)
่ฟๅ
- Unknown
method get(self, key)
ๅๆฐ
key
(str)
่ฟๅ
- Unknown
method print(self)
่ฟๅ
- Unknown
method remove(self, key, value)
ๅๆฐ
key
(str)value
(Any)
่ฟๅ
- Unknown
method unset(self, key)
ๅๆฐ
key
(str)
่ฟๅ
- Unknown
method update(self, key, value)
ๅๆฐ
key
(str)value
(Any)
่ฟๅ
- Unknown
class ConfigManager()
classmethod get_local_config(cls, file='pyproject.toml')
ๅๆฐ
file
(str)
่ฟๅ
- Unknown