mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-08-09 04:28:38 -05:00
Fixed following SoanrQube issues
1) Rename field "node_type" to prevent any misunderstanding/clash with field "NODE_TYPE" defined. 2) Define a constant instead of duplicating this literal. Solution: 1) Rename the field "NODE_TYPE" and "COLLECTION_LABEL" to "_NODE_TYPE" and "_COLLECTION_LABEL" 2) Declare the constant in PGChildNodeView for SQL files.
This commit is contained in:
@@ -92,7 +92,7 @@ class SchemaDiffObjectCompare:
|
||||
source_dict=source,
|
||||
target_dict=target,
|
||||
node=self.node_type,
|
||||
node_label=self.blueprint.COLLECTION_LABEL,
|
||||
node_label=self.blueprint.collection_label,
|
||||
ignore_whitespaces=ignore_whitespaces,
|
||||
ignore_keys=self.keys_to_ignore)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user