class_docstr: An artifact store for file systems.
  
  Args:
      base_path:
          The base path to a directory to store artifacts.
  
  Example:
      .. code-block:: python
  
          import os
  
          import optuna
          from optuna.artifacts import FileSystemArtifactStore
          from optuna.artifacts import upload_artifact
  
  
          base_path = "./artifacts"
          os.makedirs(base_path, exist_ok=True)
          artifact_store = FileSystemArtifactStore(base_path=base_path)
  
  
          def objective(trial: optuna.Trial) -> float:
              ... = trial.suggest_float("x", -10, 10)
              file_path = generate_example(...)
              upload_artifact(trial, file_path, artifact_store)
              return ...
code: def write(self, artifact_id: str, content_body: BinaryIO) -> None:
      filepath = os.path.join(self._base_path, artifact_id)
      with open(filepath, "wb") as f:
          shutil.copyfileobj(content_body, f)
  
file_path: optuna/optuna/artifacts/_filesystem.py
imports: from __future__ import annotations
  import os
  from pathlib import Path
  import shutil
  from typing import TYPE_CHECKING
  from optuna._experimental import experimental_class
  from optuna.artifacts.exceptions import ArtifactNotFound
label_desc: Use image node_id 3 for calling the FileSystemArtifactStore obj's underlying member method code with example usage: obj.write(artifact_id, content_body) without return types