Skip to content

Add plan to implement INFP-504#885

Open
gmazoyer wants to merge 2 commits intopog-artifact-composition-specfrom
gma-20260323-infp504-plan
Open

Add plan to implement INFP-504#885
gmazoyer wants to merge 2 commits intopog-artifact-composition-specfrom
gma-20260323-infp504-plan

Conversation

@gmazoyer
Copy link
Contributor

@gmazoyer gmazoyer commented Mar 23, 2026

This PR only provides the implementation plan for INFP-504 - Artifact composition. It proposes a way to implement Jinja2 filters in order to be able to include the content of an artifact or a file object within another one.

@coderabbitai
Copy link

coderabbitai bot commented Mar 23, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (4)
  • main
  • stable
  • develop
  • release-.*

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 299d99bd-f6b2-4755-b8dc-ba400044107f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

```python
class InfrahubFilters:
def __init__(self, client: InfrahubClient) -> None:
self.client = client
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure that it's correct, but the way I saw this was that a client param here would be optional. That way we can initialize a Template class the same way and then if we specifically want to use these filters we'd use some setter afterwards to add the client. However this might not be required depending on how we end up populating these filters into the template class in various circumstances.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 24, 2026

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 56476d3
Status: ✅  Deploy successful!
Preview URL: https://93e54eb5.infrahub-sdk-python.pages.dev
Branch Preview URL: https://gma-20260323-infp504-plan.infrahub-sdk-python.pages.dev

View logs

@gmazoyer gmazoyer marked this pull request as ready for review March 24, 2026 08:48
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