Skip to content

Conversation

@Flix6x
Copy link
Contributor

@Flix6x Flix6x commented Jan 23, 2026

Implement client.get_asset to query the /assets/<id> endpoint to fetch a single asset with all of its fields. Note that the /assets endpoint will no longer return all fields by default, and there is no way of telling it to do so, without explicitly listing all fields (which may change server-side).

Signed-off-by: F.N. Claessen <felix@seita.nl>
…ching a single asset

Signed-off-by: F.N. Claessen <felix@seita.nl>
@Flix6x Flix6x self-assigned this Jan 23, 2026
@Flix6x
Copy link
Contributor Author

Flix6x commented Jan 23, 2026

@copilot write a test in tests/test_client.py for the new method and push it to this branch. See other tests in that module for coding style.

Copy link
Contributor

Copilot AI commented Jan 23, 2026

@Flix6x I've opened a new pull request, #160, to work on those changes. Once the pull request is ready, I'll request review from you.

Flix6x and others added 2 commits January 23, 2026 10:38
Signed-off-by: F.N. Claessen <felix@seita.nl>
* Initial plan

* test: add test for get_asset method

Co-authored-by: Flix6x <30658763+Flix6x@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Flix6x <30658763+Flix6x@users.noreply.github.com>
@Flix6x Flix6x requested a review from nhoening January 23, 2026 09:51
Copy link
Contributor

@nhoening nhoening left a comment

Choose a reason for hiding this comment

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

Nice!

@Flix6x Flix6x merged commit 9a2be10 into main Jan 23, 2026
10 checks passed
@Flix6x Flix6x deleted the feat/fetch-one-asset branch January 23, 2026 13:51
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.

3 participants