Document class

Definition

An Azure Document.

Document objects are UserDict subclasses and behave like dicts.

Document(*args, **kwargs)
Inheritance
azure.functions._abc.Document
Document

Methods

from_dict(dct: dict) -> azure.functions._cosmosdb.Document

Create a Document from a dict object.

from_json(json_data: str) -> azure.functions._cosmosdb.Document

Create a Document from a JSON string.

to_json() -> str

Return the JSON representation of the document.

from_dict(dct: dict) -> azure.functions._cosmosdb.Document

Create a Document from a dict object.

from_dict(dct: dict) -> azure.functions._cosmosdb.Document

from_json(json_data: str) -> azure.functions._cosmosdb.Document

Create a Document from a JSON string.

from_json(json_data: str) -> azure.functions._cosmosdb.Document

to_json() -> str

Return the JSON representation of the document.

to_json() -> str