Skip to content

Commit 7e89bf4

Browse files
committed
conftest typing
1 parent b0b8787 commit 7e89bf4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import os
1111
from pathlib import Path
1212
import xml.etree.ElementTree as ET
13-
from typing import Callable
13+
from typing import Callable, Optional
1414
from opengeodeweb_viewer import config
1515
from opengeodeweb_microservice.database.connection import get_session, init_database
1616
from opengeodeweb_microservice.database.data import Data
@@ -199,7 +199,7 @@ def configure_test_environment():
199199
def dataset_factory() -> Callable[..., str]:
200200

201201
def create_dataset(
202-
*, id: str, viewable_file_name: str, geode_object: str = None
202+
*, id: str, viewable_file_name: str, geode_object: Optional[str] = None
203203
) -> str:
204204
session = get_session()
205205
if geode_object is None:

0 commit comments

Comments
 (0)