Skip to content

Commit

Permalink
Merge pull request #122 from opengisch/pgvalidity
Browse files Browse the repository at this point in the history
allow connections withouth username password because systems like ker…
  • Loading branch information
signedav authored Nov 21, 2024
2 parents fac723f + 7a02d53 commit e21e709
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions modelbaker/utils/db_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,7 @@ def get_configuration_from_sourceprovider(provider, configuration):
configuration.database = layer_source.database() or service_map.get("dbname")
configuration.dbschema = layer_source.schema()
valid = bool(
configuration.dbusr
and configuration.dbhost
and configuration.database
and configuration.dbschema
configuration.dbhost and configuration.database and configuration.dbschema
)
elif provider.name() == "ogr" and provider.storageType() == "GPKG":
configuration.tool = mode = DbIliMode.gpkg
Expand Down

0 comments on commit e21e709

Please sign in to comment.