Skip to content

Conversation

@dgarros
Copy link
Contributor

@dgarros dgarros commented Sep 21, 2024

Fixes #11

Method client.get() can now return None instead of raising an exception when raise_when_missing is set to False

response = await clients.get(
    kind="CoreRepository", name__value="infrahub-demo", raise_when_missing=False
)

@dgarros dgarros added the type/feature New feature or request label Sep 21, 2024
@dgarros dgarros merged commit 352e6ec into develop Sep 24, 2024
10 checks passed
@dgarros dgarros deleted the dga-20240921-raise_when_missing branch September 24, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: Add a raise_when_missing parameters to client.get()

2 participants