"git@transfer.hft-stuttgart.de:simstadt/simstadtpy.git" did not exist on "d0f14067343eabc610a16f00f1544f2e64f34ffa"
Commit 4cf8289b authored by Eric Duminil's avatar Eric Duminil
Browse files

param order

parent c4a4fc12
...@@ -42,9 +42,10 @@ class CityGML(ABC): ...@@ -42,9 +42,10 @@ class CityGML(ABC):
url: str url: str
path: Path path: Path
coordinate_reference_system: str
source: str
bundesland: str bundesland: str
coordinate_reference_system: str = "Unknown"
source: str = "Unknown"
license: str = "CC BY 4.0."
@property @property
def filename(self) -> str: def filename(self) -> str:
...@@ -210,7 +211,7 @@ class CityGMLWithCustomVerify(CityGML): ...@@ -210,7 +211,7 @@ class CityGMLWithCustomVerify(CityGML):
obj.verify_func = lambda path: os.path.getsize(path) > 1000 obj.verify_func = lambda path: os.path.getsize(path) > 1000
""" """
verify_func: Callable[[Path], bool] = lambda path: True verify_func: Callable[[Path], bool] = lambda _path: False
def verify(self, file_path: Path) -> bool: def verify(self, file_path: Path) -> bool:
"""Verify file using custom function.""" """Verify file using custom function."""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment