Skip to content

Data 2938 add get extended properties - #80

Open
Shrikey wants to merge 2 commits into
mainfrom
DATA-2938-add-get-extended-properties
Open

Data 2938 add get extended properties#80
Shrikey wants to merge 2 commits into
mainfrom
DATA-2938-add-get-extended-properties

Conversation

@Shrikey

@Shrikey Shrikey commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Data 2938 add get extended properties

Shrikey and others added 2 commits August 11, 2026 16:16
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Ported from the deprecated wherescape.py in wherescape-warehouse.
Adapted to use parameterized SQL and the logging/raise error
handling used by the rest of the class.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Shrikey
Shrikey requested a review from BFJonk August 11, 2026 14:22

@BFJonk BFJonk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

good addition in general

Comment thread wherescape/wherescape.py
WHERE UPPER(def.epd_variable_name) = UPPER(?)"""

try:
result = self.query_meta(sql, [object_name, object_name, object_name, property_name])

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nitpick: replacing the explicit placements by '?' in the query is a choice. I wouldn't have made it. readability of the query did not improve.

Comment thread wherescape/wherescape.py

Looks for a property value on the object itself, its source connection
and its target connection (in that order). Returns an empty string if
the property is not set.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

praise: Nice addition

Comment thread pyproject.toml
[dependency-groups]
dev = [
"ruff>=0.15.15",
"ruff>=0.16.2",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this MR should be closed: #75

Others should be executed?

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.

2 participants