ducpy.classes.DataStateClass ============================ .. py:module:: ducpy.classes.DataStateClass Classes ------- .. autoapisummary:: ducpy.classes.DataStateClass.DictionaryEntry ducpy.classes.DataStateClass.DisplayPrecision ducpy.classes.DataStateClass.DucGlobalState ducpy.classes.DataStateClass.DucLocalState ducpy.classes.DataStateClass.JSONPatchOperation ducpy.classes.DataStateClass.VersionBase ducpy.classes.DataStateClass.Checkpoint ducpy.classes.DataStateClass.Delta ducpy.classes.DataStateClass.VersionGraphMetadata ducpy.classes.DataStateClass.VersionGraph ducpy.classes.DataStateClass.DucExternalFileData ducpy.classes.DataStateClass.DucExternalFileEntry ducpy.classes.DataStateClass.ExportedDataState Module Contents --------------- .. py:class:: DictionaryEntry .. py:attribute:: key :type: str .. py:attribute:: value :type: str .. py:class:: DisplayPrecision .. py:attribute:: linear :type: int .. py:attribute:: angular :type: int .. py:class:: DucGlobalState .. py:attribute:: view_background_color :type: str .. py:attribute:: main_scope :type: str .. py:attribute:: dash_spacing_scale :type: float .. py:attribute:: is_dash_spacing_affected_by_viewport_scale :type: bool .. py:attribute:: scope_exponent_threshold :type: int .. py:attribute:: dimensions_associative_by_default :type: bool .. py:attribute:: use_annotative_scaling :type: bool .. py:attribute:: display_precision :type: DisplayPrecision .. py:attribute:: name :type: Optional[str] .. py:attribute:: pruning_level :type: Optional[ducpy.Duc.PRUNING_LEVEL.PRUNING_LEVEL] :value: None .. py:class:: DucLocalState .. py:attribute:: scope :type: str .. py:attribute:: active_standard_id :type: str .. py:attribute:: scroll_x :type: float .. py:attribute:: scroll_y :type: float .. py:attribute:: zoom :type: float .. py:attribute:: is_binding_enabled :type: bool .. py:attribute:: pen_mode :type: bool .. py:attribute:: view_mode_enabled :type: bool .. py:attribute:: objects_snap_mode_enabled :type: bool .. py:attribute:: grid_mode_enabled :type: bool .. py:attribute:: outline_mode_enabled :type: bool .. py:attribute:: active_grid_settings :type: Optional[List[str]] .. py:attribute:: active_snap_settings :type: Optional[str] .. py:attribute:: current_item_stroke :type: Optional[ducpy.classes.ElementsClass.ElementStroke] .. py:attribute:: current_item_background :type: Optional[ducpy.classes.ElementsClass.ElementBackground] .. py:attribute:: current_item_opacity :type: Optional[float] .. py:attribute:: current_item_font_family :type: Optional[str] .. py:attribute:: current_item_font_size :type: Optional[float] .. py:attribute:: current_item_text_align :type: Optional[ducpy.Duc.TEXT_ALIGN.TEXT_ALIGN] .. py:attribute:: current_item_roundness :type: Optional[float] .. py:attribute:: current_item_start_line_head :type: Optional[ducpy.classes.ElementsClass.DucHead] .. py:attribute:: current_item_end_line_head :type: Optional[ducpy.classes.ElementsClass.DucHead] .. py:attribute:: manual_save_mode :type: Optional[bool] :value: None .. py:class:: JSONPatchOperation .. py:attribute:: op :type: str .. py:attribute:: path :type: str .. py:attribute:: from_path :type: Optional[str] .. py:attribute:: value :type: Any .. py:class:: VersionBase .. py:attribute:: id :type: str .. py:attribute:: timestamp :type: int .. py:attribute:: is_manual_save :type: bool .. py:attribute:: parent_id :type: Optional[str] .. py:attribute:: description :type: Optional[str] .. py:attribute:: user_id :type: Optional[str] .. py:class:: Checkpoint Bases: :py:obj:`VersionBase` .. py:attribute:: data :type: bytes .. py:attribute:: size_bytes :type: int .. py:attribute:: type :type: str .. py:class:: Delta Bases: :py:obj:`VersionBase` .. py:attribute:: patch :type: List[JSONPatchOperation] .. py:attribute:: type :type: str .. py:method:: __post_init__() .. py:class:: VersionGraphMetadata .. py:attribute:: last_pruned :type: int .. py:attribute:: total_size :type: int .. py:class:: VersionGraph .. py:attribute:: checkpoints :type: List[Checkpoint] .. py:attribute:: deltas :type: List[Delta] .. py:attribute:: metadata :type: VersionGraphMetadata .. py:attribute:: user_checkpoint_version_id :type: str .. py:attribute:: latest_version_id :type: str .. py:class:: DucExternalFileData .. py:attribute:: mime_type :type: str .. py:attribute:: id :type: str .. py:attribute:: data :type: bytes .. py:attribute:: created :type: int .. py:attribute:: last_retrieved :type: Optional[int] .. py:class:: DucExternalFileEntry .. py:attribute:: key :type: str .. py:attribute:: value :type: DucExternalFileData .. py:class:: ExportedDataState .. py:attribute:: type :type: str .. py:attribute:: version :type: str .. py:attribute:: source :type: str .. py:attribute:: thumbnail :type: bytes .. py:attribute:: elements :type: List[ducpy.classes.ElementsClass.ElementWrapper] .. py:attribute:: blocks :type: List[ducpy.classes.ElementsClass.DucBlock] .. py:attribute:: groups :type: List[ducpy.classes.ElementsClass.DucGroup] .. py:attribute:: regions :type: List[ducpy.classes.ElementsClass.DucRegion] .. py:attribute:: layers :type: List[ducpy.classes.ElementsClass.DucLayer] .. py:attribute:: standards :type: List[ducpy.classes.StandardsClass.Standard] .. py:attribute:: dictionary :type: Dict[str, str] .. py:attribute:: duc_local_state :type: Optional[DucLocalState] .. py:attribute:: duc_global_state :type: Optional[DucGlobalState] .. py:attribute:: version_graph :type: Optional[VersionGraph] .. py:attribute:: files :type: Optional[List[DucExternalFileEntry]]