Skip to content

Commit fc7056f

Browse files
committed
Use | None syntax instead of Optional
1 parent cce6146 commit fc7056f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/clp-py-utils/clp_py_utils/clp_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ class Database(BaseModel):
176176
username: NonEmptyStr | None = None
177177
password: NonEmptyStr | None = None
178178

179-
root_password: Optional[NonEmptyStr] = None
179+
root_password: NonEmptyStr | None = None
180180

181181
def ensure_credentials_loaded(self):
182182
if self.username is None or self.password is None:

0 commit comments

Comments
 (0)