diff --git a/website/docs/api/span.md b/website/docs/api/span.md index 524ec412d..0af305b37 100644 --- a/website/docs/api/span.md +++ b/website/docs/api/span.md @@ -114,6 +114,7 @@ For details, see the documentation on | `method` | callable | Set a custom method on the object, for example `span._.compare(other_span)`. | | `getter` | callable | Getter function that takes the object and returns an attribute value. Is called when the user accesses the `._` attribute. | | `setter` | callable | Setter function that takes the `Span` and a value, and modifies the object. Is called when the user writes to the `Span._` attribute. | +| `force` | bool | Force overwriting existing attribute. | ## Span.get_extension {#get_extension tag="classmethod" new="2"} diff --git a/website/docs/api/token.md b/website/docs/api/token.md index 78e7513c3..24816b401 100644 --- a/website/docs/api/token.md +++ b/website/docs/api/token.md @@ -63,6 +63,7 @@ For details, see the documentation on | `method` | callable | Set a custom method on the object, for example `token._.compare(other_token)`. | | `getter` | callable | Getter function that takes the object and returns an attribute value. Is called when the user accesses the `._` attribute. | | `setter` | callable | Setter function that takes the `Token` and a value, and modifies the object. Is called when the user writes to the `Token._` attribute. | +| `force` | bool | Force overwriting existing attribute. | ## Token.get_extension {#get_extension tag="classmethod" new="2"}