Skip to content

Commit

Permalink
fix: Rename IdentityConverter
Browse files Browse the repository at this point in the history
  • Loading branch information
shirte committed Dec 13, 2024
1 parent faa8002 commit a561455
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion nerdd_module/converters/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from .basic_type_converter import *
from .converter import *
from .converter_config import *
from .identity_converter import *
from .mol_converter import *
from .mol_to_image_converter import *
from .problem_list_converter import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
from .converter import Converter
from .converter_config import ALL, ConverterConfig

__all__ = ["IdentityConverter", "primitive_data_types"]
__all__ = ["BasicTypeConverter", "basic_data_types"]

primitive_data_types = [
basic_data_types = [
"int",
"float",
"string",
"bool",
]


class IdentityConverter(Converter):
class BasicTypeConverter(Converter):
def _convert(self, input: Any, context: dict) -> Any:
return input

config = ConverterConfig(
data_types=primitive_data_types,
data_types=basic_data_types,
output_formats=ALL,
)

0 comments on commit a561455

Please sign in to comment.