question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update package descriptor after resource descriptor has been updated

See original GitHub issue

Hey,

I want to automatically update resource descriptors, however, the descriptor of the whole package is not updated after I update the resource descriptor.

For example:

p = Package('datapackage.json')
r = p.get_resource('r1')
r.descriptor = new_descriptor
r.commit()
p.commit()

r.descriptor # -> updated description
p.descriptor # -> still the old one 

Is there a way to make code like above work?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
zaneselvanscommented, Sep 10, 2018

Upon some investigation, the field/table issue is a bit different than the resource/package issue, so I’ve created a new issue over in the tableschema-py repository:

https://github.com/frictionlessdata/tableschema-py/issues/217

0reactions
rollcommented, Sep 26, 2020

It’s been fixed in Frictionless Framework as the whole working with metadata design was re-worked

Read more comments on GitHub >

github_iconTop Results From Across the Web

Package Descriptor - IOx - Document
Sections and Subsections PaaS LXC Docker VM Constraints Type Minimum Schema V... ** app ** M M M M N/A Object 1.0 app ‑> cpuarch...
Read more >
B weblogic.xml Deployment Descriptor Elements
This parameter identifies how often WebLogic Server checks whether a resource has been modified and if so, it reloads it. The value -1...
Read more >
Maven: Failed to read artifact descriptor - java
After some time when I finishedd my coding I needed to create a JAR of my module a2. I ran "package" on a2's...
Read more >
Refreshing a REST API Descriptor
Removes RAD elements that correspond to elements that have been removed from the updated Swagger document. Note: In Designer, the option to refresh...
Read more >
REST Resource: projects.metricDescriptors
Once a metric descriptor is created, deleting or altering it stops data collection and ... value to zero and sets a new start...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found