clearml_agent/helper/package/requirements.py
def update_installed_packages_state(self, requirements):
        """
        Updates internal Installed Packages objects, so that later we can detect
        if we already have a pre-installed package
        :param requirements: is the output of a freeze() call, i.e. dict {'pip': "package==version"}
        """
        requirements = requirements if not isinstance(requirements, dict) else requirements.get("pip")
        self._installed_parsed_packages = self.parse_requirements_section_to_marker_requirements(
                requirements=requirements, cwd=self._cwd)
        for h in self.handlers:
            h.set_is_already_installed_cb(self._callback_is_already_installed)

        Updates internal Installed Packages objects, so that later we can detect
        if we already have a pre-installed package
        :param requirements: is the output of a freeze() call, i.e. dict {'pip': "package==version"}
        
Updates internal Installed Packages objects, so that later we can detect
if we already have a pre-installed package
Updates internal Installed Packages objects so that later we can detect if we already have a pre - installed package
def update_installed_packages_state(self, requirements):
        requirements = requirements if not isinstance(requirements, dict) else requirements.get("pip")
        self._installed_parsed_packages = self.parse_requirements_section_to_marker_requirements(
                requirements=requirements, cwd=self._cwd)
        for h in self.handlers:
            h.set_is_already_installed_cb(self._callback_is_already_installed)
def update_installed_packages_state ( self , requirements ) : requirements = requirements if not isinstance ( requirements , dict ) else requirements . get ( "pip" ) self . _installed_parsed_packages = self . parse_requirements_section_to_marker_requirements ( requirements = requirements , cwd = self . _cwd ) for h in self . handlers : h . set_is_already_installed_cb ( self . _callback_is_already_installed )
Updates internal Installed Packages objects, so that later we can detect
if we already have a pre-installed package
Updates internal Installed Packages objects so that later we can detect if we already have a pre - installed package
"""
        Updates internal Installed Packages objects, so that later we can detect
        if we already have a pre-installed package
        :param requirements: is the output of a freeze() call, i.e. dict {'pip': "package==version"}
        """
self
requirements
None