Skip to content

Commit f95b38f

Browse files
authored
cleanup (#172)
move load/s to stubbed reader
1 parent 0a36f75 commit f95b38f

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

flopy4/mf6/codec/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from flopy4.mf6.codec.writer import dump, dumps, load, loads
1+
from flopy4.mf6.codec.reader import load, loads
2+
from flopy4.mf6.codec.writer import dump, dumps
23

34
__all__ = [
45
"loads",
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
from os import PathLike
2+
from typing import Any
3+
4+
5+
def load(path: str | PathLike) -> Any:
6+
# TODO
7+
pass
8+
9+
10+
def loads(data: str) -> Any:
11+
# TODO
12+
pass

flopy4/mf6/codec/writer/__init__.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import sys
22
from os import PathLike
3-
from typing import Any
43

54
import numpy as np
65
from jinja2 import Environment, PackageLoader
@@ -29,16 +28,6 @@
2928
}
3029

3130

32-
def loads(data: str) -> Any:
33-
# TODO
34-
pass
35-
36-
37-
def load(path: str | PathLike) -> Any:
38-
# TODO
39-
pass
40-
41-
4231
def dumps(data) -> str:
4332
template = _JINJA_ENV.get_template(_JINJA_TEMPLATE_NAME)
4433
with np.printoptions(**_PRINT_OPTIONS): # type: ignore

0 commit comments

Comments
 (0)