Exemplo n.º 1
0
    def get_structure(self) -> Dict[str, Any]:
        """Returns a run's metadata structure in form of a dictionary.

        This method can be used to traverse the run's metadata structure programmatically
        when using Neptune in automated workflows.

        .. danger::
            The returned object is a deep copy of an internal run's structure.

        Returns:
            ``dict``: with the run's metadata structure.

        """
        return AttributeContainer.get_structure(self)
Exemplo n.º 2
0
    def get_structure(self) -> Dict[str, Any]:
        """Returns a project's metadata structure in form of a dictionary.

        This method can be used to traverse the project's metadata structure programmatically
        when using Neptune in automated workflows.

        .. danger::
            The returned object is a shallow copy of an internal structure.
            Any modifications to it may result in tracking malfunction.

        Returns:
            ``dict``: with the project's metadata structure.

        """
        return AttributeContainer.get_structure(self)