We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b90db1 commit 2390bccCopy full SHA for 2390bcc
1 file changed
src/racetrack_job_wrapper/endpoint_config.py
@@ -1,4 +1,4 @@
1
-from dataclasses import dataclass
+from dataclasses import dataclass, field
2
from http import HTTPMethod
3
from typing import Any, Callable, Dict
4
@@ -8,4 +8,4 @@ class EndpointConfig:
8
path: str
9
method: HTTPMethod
10
handler: Callable
11
- other_options: Dict[str, Any] = {}
+ other_options: Dict[str, Any] = field(default_factory=dict)
0 commit comments