08-29-2025 10:09 AM
I am trying to use the Databricks Python SDK to install a Databricks Marketplace listing to Unity Catalog. I am getting stuck on how to provide a valid consumer terms version when passing the "accepted_consumer_terms" parameter to the w.consumer_installations.create() function. See the code in the screenshot below...
In this case, I am attempting to install one of the free Marketplace listings (Arline Performance Data: id=e913bea3-9a37-446c-a667-73724e7ef73e).
Where do I find (how do I determine) a valid value for this version parameter highlighted in yellow in the screenshot?? I've looked at the Marketplace listing and I don't see anything that make sense to plug in there. A valid "accepted_consumer_terms" parameter is required to install the listing.
I am using version 0.63.0 of the Python SDK.
08-30-2025 12:31 PM
Hi @ScottH ,
It took me about 2 hours to make it right, but here it is. You need to provide valid date.
And you can ask, from where that date is coming from? It's coming from consumer listing:
listings = w.consumer_listings.get(id= 'e913bea3-9a37-446c-a667-73724e7ef73e')
print(listings)
This should be much better documented. I'll raise an github issue and notify team about this.
As a bonus, I think I've found bug within ConsumerListings search function. So it seems python sdk requires a bit work to make it usable for users 😄
08-30-2025 12:31 PM
Hi @ScottH ,
It took me about 2 hours to make it right, but here it is. You need to provide valid date.
And you can ask, from where that date is coming from? It's coming from consumer listing:
listings = w.consumer_listings.get(id= 'e913bea3-9a37-446c-a667-73724e7ef73e')
print(listings)
This should be much better documented. I'll raise an github issue and notify team about this.
As a bonus, I think I've found bug within ConsumerListings search function. So it seems python sdk requires a bit work to make it usable for users 😄
09-02-2025 01:49 PM
Wow. Well done. I would not have figured that out. Thanks so much.
09-02-2025 01:52 PM
No problem @ScottH , glad that I could help 🙂
Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!
Sign Up Now