code: def get_code(
      self,
      project_id: str,
      repo_id: str,
      code_hash: str,
  ) -> Optional[bytes]:
      try:
          response = self._client.get_object(
              Bucket=self.bucket,
              Key=_get_code_key(project_id, repo_id, code_hash),
          )
      except botocore.exceptions.ClientError as e:
          if e.response["Error"]["Code"] == "NoSuchKey":
              return None
          raise e
      return response["Body"].read()
  
file_path: dstack/src/dstack/_internal/server/services/storage.py
imports: from typing import Optional
  from dstack._internal.server import settings
label_desc: Use image node_id 3 for calling the S3Storage obj's underlying member method code with example usage: obj.get_code(project_id, repo_id, code_hash) and returns: response, None