Skip to content

Commit 952d563

Browse files
cloudant-sdks-automationeiri
authored andcommitted
docs(generated): resolve metadata collision known issue
Generated SDK source code using: - Generator version 3.86.0 - Specification version 1.0.0-dev0.1.6 - Automation (cloudant-sdks) version 78ad448 Signed-off-by: cloudant-sdks-automation <[email protected]>
1 parent e2053d4 commit 952d563

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

KNOWN_ISSUES.md

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -132,34 +132,6 @@ The example above represents this JSON body:
132132
}
133133
```
134134

135-
### Documents
136-
137-
#### Name collisions with reserved metadata fields
138-
139-
The cloudant-python-sdk internal representation of the `Document` model in a Python dict
140-
currently does not allow for members with the same names as the reserved (`_` prefixed)
141-
document metadata members.
142-
143-
This means that members named any of the following will be removed by the `Document`
144-
`from_dict` and `to_dict` functions:
145-
* `attachments`
146-
* `conflicts`
147-
* `deleted`
148-
* `deleted_conflicts`
149-
* `id`
150-
* `local_seq`
151-
* `rev`
152-
* `revisions`
153-
* `revs_info`
154-
155-
Potential workarounds are:
156-
* use [Raw IO](/#raw-io) functions to serialize/deserialize
157-
documents into a custom dict or class.
158-
* use a different member name
159-
* nest the members inside another object member
160-
161-
See [issue #490](https://github.com/IBM/cloudant-python-sdk/issues/490).
162-
163135
### Disabling request body compression
164136

165137
Some issues with older server versions can be worked around by disabling

0 commit comments

Comments
 (0)