class_docstr: Stores artifacts on DBFS using the DBFS REST API.
  
  This repository is used with URIs of the form ``dbfs:/<path>``. The repository can only be used
  together with the RestStore.
class_docstr_tok: ["Stores","artifacts","on","DBFS","using","the","DBFS","REST","API",".","This","repository","is","used","with","URIs","of","the","form","``","dbfs",":","\/","<","path",">","``",".","The","repository","can","only","be","used","together","with","the","RestStore","."]
code: def log_artifacts(self, local_dir, artifact_path=None):
      artifact_path = artifact_path or ""
      for dirpath, _, filenames in os.walk(local_dir):
          artifact_subdir = artifact_path
          if dirpath != local_dir:
              rel_path = os.path.relpath(dirpath, local_dir)
              rel_path = relative_path_to_artifact_path(rel_path)
              artifact_subdir = posixpath.join(artifact_path, rel_path)
          for name in filenames:
              file_path = os.path.join(dirpath, name)
              self.log_artifact(file_path, artifact_subdir)
  
imports: import json
  import os
  import posixpath
  import mlflow.utils.databricks_utils
  from mlflow.entities import FileInfo
  from mlflow.environment_variables import MLFLOW_ENABLE_DBFS_FUSE_ARTIFACT_REPO
  from mlflow.exceptions import MlflowException
  from mlflow.protos.databricks_pb2 import INVALID_PARAMETER_VALUE
  from mlflow.store.artifact.artifact_repo import ArtifactRepository
  from mlflow.store.artifact.databricks_artifact_repo import DatabricksArtifactRepository
  from mlflow.store.artifact.local_artifact_repo import LocalArtifactRepository
  from mlflow.store.tracking.rest_store import RestStore
  from mlflow.tracking._tracking_service import utils
  from mlflow.utils.databricks_utils import get_databricks_host_creds
  from mlflow.utils.file_utils import relative_path_to_artifact_path
  from mlflow.utils.rest_utils import RESOURCE_DOES_NOT_EXIST, http_request, http_request_safe
  from mlflow.utils.string_utils import strip_prefix
  from mlflow.utils.uri import get_databricks_profile_uri_from_artifact_uri, is_databricks_acled_artifacts_uri, is_databricks_model_registry_artifacts_uri, is_valid_dbfs_uri, remove_databricks_profile_info_from_artifact_uri
label_desc: Use image node_id 10 for calling the DbfsRestArtifactRepository obj's underlying member method code with example usage: obj.log_artifacts(local_dir, artifact_path) without return types