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.

Schema class fields deletion control

See original GitHub issue

I see at _get_fields function there is a pop parameter that defines what to do with field attributes of schema class: https://github.com/marshmallow-code/marshmallow/blob/09c5b26bee77be5e23927ddeb472d5ea56733266/src/marshmallow/schema.py#L54-L56 There is also ordered parameter here but unlike him pop parameter isn’t accessible through the API. I think it would be nice to have the corresponding meta parameter that control schema class fields deletion.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
lafrechcommented, Jul 15, 2020

I just opened a PR implementing this: #1631.

1reaction
ghostcommented, Aug 18, 2020

@lafrech I just ran into the same thing 😃 Can you please merge the PR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Delete Custom Fields with Schema Builder - Salesforce Help
Right-click on the custom field. · Select Delete Field.... A dialog box displays that explains the side effects of deleting a custom field....
Read more >
Deleting fields from a Component and Schema - Storyblok
Click on the Story whose field you want to delete, navigate to the field section {1} on the story and click on the...
Read more >
Delete Field (Data Management)—ArcMap | Documentation
This tool deletes one or more fields from a table, feature class, feature layer, or raster dataset. Usage. This tool can be used...
Read more >
Can I delete a custom field and a custom object manually in ...
I'll have to delete a Custom Field and a Custom Object in production org. I need to know if it's possible to do...
Read more >
Field groups API Endpoint | Adobe Experience Platform
It may occasionally be necessary to remove a field group from the Schema Registry. This is done by performing a DELETE request with...
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