Small tweaks to catalog
See original GitHub issue[x] 1. Return slug at every object with slug. For example, Dataset.slug doesn’t work but it appears at dataset.to_dict. We talked about removing slug for the model but I’m regretting it after I’ve played a little bit with the library.
[x] 2. Dataset.to_dict(): remove summary_jsonb.
[x] 3. Rename Catalog to CatalogDataset
[ ] 4. Custom __repr__
for Variable objet.
That would be great to include only for Variable object the description fields at the repr.
For longer description (bigger than 20 characters let’s add an ellipsis.
<Variable(‘CRMCYPERC_1a97ab94’, ‘My cool short description’)> <Variable(‘CRMCYPERC_1a97ab94’, ‘My cool long description bla bla bla …’ )>
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
How Small Businesses Can Create Cheap Catalogs
Creating a presentable catalog may seem overwhelming and costly, but it doesn't have to be as challenging or expensive as you may think....
Read more >Small Tweaks to In-Stock Parts Has Endless Possibilities
Making merchandising easy is what we love to do! Your Point of Purchase (POP) displays can bring in new and loyal customers!
Read more >5 Clever Google Search Tweaks - Fluxe Digital Marketing
There are actually little tweaks you can do to your everyday Google searches that will not only get you way better results, but...
Read more >5 small website tweaks that will help you sell more products ...
With some small website tweaks you can help all the lovely people looking for ... product categories that cover the top-level of your...
Read more >Hire Shopify Small Tasks or Tweaks Experts-Shopify Task Help
Let our experts help you with theme tweaks, adding functionality, custom coding, graphics and other Shopify small tasks. Browse Task Catalog.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, but only for
to_dict
the property should be available for describeI finally added the slug property at #1093 since I needed it for the CatalogList.get(slug) to work 😃