Skip to content

feature: Add convert_query_response to Python Transforms #281

@FragmentedPacket

Description

@FragmentedPacket

Component

infrahubctl CLI, Python SDK

Describe the Feature Request

Allow the same functionality of converting the GraphQL response into InfrahubNode objects for Python transformations.

Describe the Use Case

We fetch device IDs in our GraphQL query for the transform and would like to fetch those devices later on in the transform by using the Infrahub store that holds the objects from the query in the store to be retrieved later. This allows us to not have to run further queries to get the device information within the Python transform.

Additional Information

No response

Metadata

Metadata

Assignees

Labels

priority/2This issue stalls work on the project or its dependents, it's a blocker for a releasetype/featureNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions