Skip to content

Commit

Permalink
style: type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
aaraney committed Aug 15, 2024
1 parent 29c3528 commit dd18e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ngen_cal/src/ngen/cal/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def best_params(self) -> str:

class Agent(BaseAgent):

def __init__(self, model: Model, workdir: 'Path', log: bool=False, restart: bool=False, parameters: 'Optional[Mapping[str, Any]]' = {}):
def __init__(self, model: Model, workdir: Path, log: bool=False, restart: bool=False, parameters: Mapping[str, Any] | None = {}):
self._workdir = workdir
self._job = None
assert not isinstance(model.model, NoModel), "invariant"
Expand Down

0 comments on commit dd18e0e

Please sign in to comment.