dropbox / dropbox/nsot

Properly handle partial update of resource attributes in PATCH requests

Open
#145 2 comments 0 reactions 1 assignee Claimed by @jathanism View on GitHub
enhancement
Dominant language
Python
Stars
407
Forks
61
PR merge metrics
No merged PRs in 30d

Description

For Resource objects (Device, Network, Interface) that are able to have attributes, attributes need to be properly handled.

We should be able to specify a dict of only attributes that we wish to change and have the API properly reconcile them on a PATCH request.

For PUT requests, everything is working as intended. For reference internally, a PATCH request is a an update with the `partial=True` flag set, where PUT is an update with `partial=False`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.