Skip to content

Commit

Permalink
PsqlDosBackend: database_name incorrectly marked optional (#6212)
Browse files Browse the repository at this point in the history
The `database_name` key of the `Configuration` model was incorrectly
marked as accepting `None`, but it is actually required.
  • Loading branch information
sphuber authored Dec 12, 2023
1 parent a6c2dbe commit fe47d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiida/storage/psql_dos/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class Configuration(BaseModel):
database_password: str = Field(
title='PostgreSQL password', description='The password with which to connect to the PostgreSQL server.'
)
database_name: Union[str, None] = Field(
database_name: str = Field(
title='PostgreSQL database name', description='The name of the database in the PostgreSQL server.'
)

Expand Down

0 comments on commit fe47d9a

Please sign in to comment.