class documentation

class CommitInfo(bb.Struct): (source)

Known subclasses: dropbox.files.UploadArg

View In Hierarchy

:ivar files.CommitInfo.path: Path in the user's Dropbox to save the file. :ivar files.CommitInfo.mode: Selects what to do if the file already exists. :ivar files.CommitInfo.autorename: If there's a conflict, as determined by ``mode``, have the Dropbox server try to autorename the file to avoid conflict. :ivar files.CommitInfo.client_modified: The value to store as the ``client_modified`` timestamp. Dropbox automatically records the time at which the file was written to the Dropbox servers. It can also record an additional timestamp, provided by Dropbox desktop clients, mobile clients, and API apps of when the file was actually created or modified. :ivar files.CommitInfo.mute: Normally, users are made aware of any file modifications in their Dropbox account via notifications in the client software. If ``True``, this tells the clients that this modification shouldn't result in a user notification. :ivar files.CommitInfo.property_groups: List of custom properties to add to file. :ivar files.CommitInfo.strict_conflict: Be more strict about how each :class:`WriteMode` detects conflict. For example, always return a conflict error when ``mode`` = ``WriteMode.update`` and the given "rev" doesn't match the existing file's "rev", even if the existing file has been deleted. This also forces a conflict even when the target path refers to a file with identical contents.

Method __init__ Undocumented
Class Variable __slots__ Undocumented
Instance Variable autorename Undocumented
Instance Variable client_modified Undocumented
Instance Variable mode Undocumented
Instance Variable mute Undocumented
Instance Variable path Undocumented
Instance Variable property_groups Undocumented
Instance Variable strict_conflict Undocumented
Method _process_custom_annotations Undocumented
Class Variable _has_required_fields Undocumented
Instance Variable _autorename_value Undocumented
Instance Variable _client_modified_value Undocumented
Instance Variable _mode_value Undocumented
Instance Variable _mute_value Undocumented
Instance Variable _path_value Undocumented
Instance Variable _property_groups_value Undocumented
Instance Variable _strict_conflict_value Undocumented
def __init__(self, path=None, mode=None, autorename=None, client_modified=None, mute=None, property_groups=None, strict_conflict=None): (source)

Undocumented

__slots__: list[str] = (source)

Undocumented

autorename = (source)

Undocumented

client_modified = (source)

Undocumented

Undocumented

Undocumented

Undocumented

property_groups = (source)

Undocumented

strict_conflict = (source)

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_has_required_fields: bool = (source)

Undocumented

_autorename_value = (source)

Undocumented

_client_modified_value = (source)

Undocumented

_mode_value = (source)

Undocumented

_mute_value = (source)

Undocumented

_path_value = (source)

Undocumented

_property_groups_value = (source)

Undocumented

_strict_conflict_value = (source)

Undocumented