code: def create_store(io, base_path, version):
      """Helper to create a RIA store
  
      Note, that this is meant as an internal helper and part of intermediate
      RF'ing. Ultimately should lead to dedicated command or option for
      create-sibling-ria.
  
      Parameters
      ----------
      io: SSHRemoteIO or LocalIO
        Respective execution instance.
        Note: To be replaced by proper command abstraction
      base_path: Path
        root path of the store
      version: str
        layout version of the store (dataset tree)
      """
  
      # At store level the only version we know as of now is 1.
      if version not in known_versions_dst:
          raise UnknownLayoutVersion(
              "RIA store layout version unknown: {}."
              "Supported versions: {}".format(
                  version, known_versions_dst
              )
          )
      _ensure_version(io, base_path, version)
      error_logs = base_path / "error_logs"
      io.mkdir(error_logs)
  
file_path: datalad/datalad/customremotes/ria_utils.py
imports: import logging
  from pathlib import Path
label_desc: Use image node_id 4 for calling a global function with example usage: create_store(io, base_path, version) without return types