:right-sidebar: True RelatedRef =================================================================== .. currentmodule:: gi.repository.Flatpak .. class:: RelatedRef(**properties: ~typing.Any) :no-contents-entry: Superclasses: :class:`~gi.repository.Flatpak.Ref`, :class:`~gi.repository.GObject.Object` :Constructors: :: RelatedRef(**properties) Methods ------- .. rst-class:: interim-class .. class:: RelatedRef :no-index: .. method:: get_subpaths() -> list[str] Returns the subpaths that should be installed/updated for the ref. This returns :const:`None` if all files should be installed. .. versionadded:: 0.6.7 .. method:: should_autoprune() -> bool Returns whether to delete when pruning unused refs. .. versionadded:: 0.11.8 .. method:: should_delete() -> bool Returns whether to auto-delete the ref with the main ref. .. versionadded:: 0.6.7 .. method:: should_download() -> bool Returns whether to auto-download the ref with the main ref. .. versionadded:: 0.6.7 Properties ---------- .. rst-class:: interim-class .. class:: RelatedRef :no-index: .. attribute:: props.should_autoprune :type: bool The type of the None singleton. .. attribute:: props.should_delete :type: bool The type of the None singleton. .. attribute:: props.should_download :type: bool The type of the None singleton. .. attribute:: props.subpaths :type: list[str] The type of the None singleton. Fields ------ .. rst-class:: interim-class .. class:: RelatedRef :no-index: .. attribute:: parent