Skip to content

fix: pass FeedbackTypeId in check_pg_layer_no_hardcoded_credentials - #174

Merged
suricactus merged 1 commit into
opengisch:masterfrom
yadda07:fix/pg-hardcoded-credentials-feedback-type-id
Oct 27, 2026
Merged

suricactus merged 1 commit into
opengisch:masterfrom
yadda07:fix/pg-hardcoded-credentials-feedback-type-id

Conversation

@yadda07

@yadda07 yadda07 commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes TypeError: FeedbackResult.__init__() missing 1 required positional argument: 'message' when ProjectChecker.check_pg_layer_no_hardcoded_credentials() encounters a PostgreSQL layer with hardcoded username or password.

#164 (80790c8e86) updated FeedbackResult.__init__ to require (type_id: FeedbackTypeId, message: str), while #170 (a56d589e48) called FeedbackResult(message) with a single argument.

Related issue: opengisch/qfieldsync#842

@gounux gounux left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks @yadda07, LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants