You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I know, application packages are only available to a user if they created it. Is there a way to reflect a package object from an existing Vespa app?
This would be useful to integrate with:
Vespa apps that were not created with pyvespa
Vespa apps that were created by someone else with pyvespa
For example:
# Establish a connection with an existing Vespa app that I didn't create
my_app = Vespa(
url="https://token-endpoint..z.vespa-app.cloud",
vespa_cloud_secret_token="vespa_cloud_secret_token"
)
# Dynamically read schemas, docs, types, rank profiles etc from an auto mapped package
my_package = my_app.application_package
Otherwise if there's a way to do this already, please let me know.
The text was updated successfully, but these errors were encountered:
Ok yes that would work for some of our cases. But we would also like to integrate with Vespa apps (Vespa cloud and remote hosted) where we have limited data privileges and no control plane access. We can of course actually look at the schema and services files and manually map custom python objects etc. But being able to generate an app package would be helpful as a Python Vespa ORM.
If thats not a planned feature, then you can probably just close this issue.
Thanks
Hi @Alexander-Mark : what you describe is a great idea! It would be awesome to be able to (de)serialize and application package to/from python objects
It is however a lot of work, as pyvespa is not feature complete. It does not have all of Vespa's features, so we cannot deserialize an app package into python objects.
We are keeping this on the backlog for later - thanks for submitting!
Hi there
As far as I know, application packages are only available to a user if they created it. Is there a way to reflect a package object from an existing Vespa app?
This would be useful to integrate with:
For example:
Otherwise if there's a way to do this already, please let me know.
The text was updated successfully, but these errors were encountered: