llama-stack-mirror/tests/integration/providers
Derek Higgins fcd6370b34
fix: set SqlRecord owner to None when owner_principal is empty (#4284)
Changes SqlRecord creation in AuthorizedSqlStore.fetch_all to use
owner=None when owner_principal is empty/missing, matching the
ResourceWithOwner pattern used in routing tables. This fixes an
inconsistency where SQL store was creating User(principal="") while
routing tables use owner=None for public resources.

Changes:
o Update ProtectedResource Protocol to allow owner: User | None 
o Update SqlRecord.__init__ to accept owner: User | None 
o Update fetch_all to create owner=None for records without
owner_principal

Signed-off-by: Derek Higgins <derekh@redhat.com>
2025-12-03 10:28:33 -08:00
..
nvidia fix(tests): ensure test isolation in server mode (#3737) 2025-10-08 12:03:36 -07:00
recordings fix(tests): ensure test isolation in server mode (#3737) 2025-10-08 12:03:36 -07:00
utils fix: set SqlRecord owner to None when owner_principal is empty (#4284) 2025-12-03 10:28:33 -08:00
__init__.py feat: add provider API for listing and inspecting provider info (#1429) 2025-03-13 15:07:21 -07:00
test_providers.py chore: Stack server no longer depends on llama-stack-client (#4094) 2025-11-07 09:54:09 -08:00