We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc74cb4 commit aa68cb1Copy full SHA for aa68cb1
src/scaup/crud/samples.py
@@ -87,7 +87,6 @@ def create_sample(
87
for i, sample_json in enumerate(samples_json):
88
sample = Sample(**sample_json)
89
90
- assert Config.ispyb_api.jwt is not None
91
ext_sample = Expeye.upsert(Config.ispyb_api.jwt, sample, None)
92
samples_json[i]["externalId"] = ext_sample["externalId"]
93
src/scaup/utils/config.py
@@ -11,7 +11,7 @@ class ConfigurationError(Exception):
11
@dataclass
12
class IspybApi:
13
url: str
14
- jwt: str | None = None
+ jwt: str
15
16
17
0 commit comments