code: def log_dependencies(self, run: "Run") -> None:
      if os.path.isfile(self._path):
          run["source_code/requirements"].upload(self._path)
      else:
          logger.error(
              "[ERROR] File '%s' does not exist - skipping dependency file upload.",
              self._path,
          )
  
file_path: neptune-client/src/neptune/internal/utils/dependency_tracking.py
imports: import os
  import sys
  from abc import ABC, abstractmethod
  from typing import TYPE_CHECKING, Union
  from neptune.internal.utils.logger import logger
  from neptune.types import File
label_desc: Use image node_id 2 for calling the FileDependenciesStrategy obj's underlying member method code with example usage: obj.log_dependencies(run) without return types