diff options
| author | 2024-06-30 08:46:52 +0800 | |
|---|---|---|
| committer | 2024-06-30 08:46:52 +0800 | |
| commit | 87f0d8fbc019b65ff942b415b107293a1024fe1d (patch) | |
| tree | 06c6237d8110658c96109452d2c932fb87fdcbd7 /hrc/utils.py | |
| parent | 23ab264ebe52bd050e02c5c6a009645a252a5ea0 (diff) | |
| download | HydroRollCore-87f0d8fbc019b65ff942b415b107293a1024fe1d.tar.gz HydroRollCore-87f0d8fbc019b65ff942b415b107293a1024fe1d.zip | |
feat(exception): enrich exceptions:: EventException, SkipException, StopException, CoreException, GetEventTimeOut, LoudModuleError
Diffstat (limited to 'hrc/utils.py')
| -rw-r--r-- | hrc/utils.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/hrc/utils.py b/hrc/utils.py index 480b105..e85cea4 100644 --- a/hrc/utils.py +++ b/hrc/utils.py @@ -82,14 +82,6 @@ class ModulePathFinder(MetaPathFinder): def is_config_class(config_class: Any) -> TypeGuard[Type[ConfigModel]]: - """Determine whether an object is a configuration class. - - Args: - config_class: The object to be judged. - - Returns: - Returns whether it is a configuration class. - """ return ( inspect.isclass(config_class) and issubclass(config_class, ConfigModel) |
