forked from enviPath/enviPy
[Fix] Export IUCLID Properties, Show Model Params and Statistics, Adjust Batch Prediction Settings (#434)
Co-authored-by: Tim Lorsbach <tim@lorsba.ch> Reviewed-on: enviPath/enviPy#434
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
import enum
|
||||
from typing import Any, Dict
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
from envipy_additional_information import EnviPyModel
|
||||
@ -69,6 +70,12 @@ class Plugin(ABC):
|
||||
|
||||
|
||||
class Property(Plugin):
|
||||
def parameters(self) -> Dict[str, Any]:
|
||||
"""
|
||||
Returns the parameters of the PropertyPlugin.
|
||||
"""
|
||||
return {}
|
||||
|
||||
@classmethod
|
||||
@abstractmethod
|
||||
def requires_rule_packages(cls) -> bool:
|
||||
@ -300,6 +307,12 @@ class Classifier(Plugin):
|
||||
"""
|
||||
pass
|
||||
|
||||
def parameters(self) -> Dict[str, Any]:
|
||||
"""
|
||||
Returns the parameters of the ClassifierPlugin.
|
||||
"""
|
||||
return {}
|
||||
|
||||
@abstractmethod
|
||||
def build(self, eP: EnviPyDTO, *args, **kwargs) -> BuildResult | None:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user