Skip to content

Commit

Permalink
Black&Isort
Browse files Browse the repository at this point in the history
  • Loading branch information
nailend committed Mar 13, 2024
1 parent a18186b commit aa276d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion data_adapter_oemof/mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def get_data(self, key, field_type: Optional[Type] = None):
)
return None

def get(self, key, field_type: Optional[Type] = None, default = None):
def get(self, key, field_type: Optional[Type] = None, default=None):
"""
Map key with adapter specific mapping and return data for key if
available.
Expand Down
3 changes: 1 addition & 2 deletions examples/transport/data_adapter_transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@
from data_adapter.databus import download_collection # noqa: E402
from data_adapter.preprocessing import Adapter # noqa: E402
from data_adapter.structure import Structure # noqa: E402

from data_adapter_oemof.build_datapackage import DataPackage # noqa: E402
from oemof.tabular import datapackage # noqa

from data_adapter_oemof.build_datapackage import DataPackage # noqa: E402

# download_collection(
# "https://databus.openenergyplatform.org/felixmaur/collections/test_bev"
Expand Down

0 comments on commit aa276d5

Please sign in to comment.