docstr: Returns
  -------
docstr_tok: ["Returns","--","--","--","-"]
code: def create_metadata(
      self,
      key,
      secret,
      ds_name,
      data_frequency,
      desc,
      has_history=True,
      has_live=True,
  ):
      """
  
      Returns
      -------
  
      """
      headers = get_signed_headers(ds_name, key, secret)
      r = requests.post(
          "{}/marketplace/register".format(AUTH_SERVER),
          json=dict(
              ds_name=ds_name,
              desc=desc,
              data_frequency=data_frequency,
              has_history=has_history,
              has_live=has_live,
          ),
          headers=headers,
      )
  
      if r.status_code != 200:
          raise MarketplaceHTTPRequest(
              request="register", error=r.status_code
          )
  
      if "error" in r.json():
          raise MarketplaceHTTPRequest(
              request="upload file", error=r.json()["error"]
          )
  
imports: from __future__ import print_function
  import glob
  import json
  import os
  import re
  import shutil
  import sys
  import time
  import webbrowser
  import bcolz
  import logbook
  import pandas
  import requests
  from requests_toolbelt import MultipartDecoder
  from requests_toolbelt.multipart.decoder import NonMultipartContentTypeException
  from catalyst.constants import LOG_LEVEL, AUTH_SERVER, ETH_REMOTE_NODE, MARKETPLACE_CONTRACT, MARKETPLACE_CONTRACT_ABI, ENIGMA_CONTRACT, ENIGMA_CONTRACT_ABI, TERMS_AND_CONDITIONS
  from catalyst.exchange.utils.stats_utils import set_print_settings
  from catalyst.marketplace.marketplace_errors import MarketplaceDatasetNotFound, MarketplaceNoAddressMatch, MarketplaceHTTPRequest, MarketplaceNoCSVFiles, MarketplaceRequiresPython3
  from catalyst.marketplace.utils.auth_utils import get_key_secret, get_signed_headers
  from catalyst.marketplace.utils.eth_utils import bin_hex, from_grains, to_grains
  from catalyst.marketplace.utils.path_utils import get_bundle_folder, get_data_source_folder, get_marketplace_folder, get_user_pubaddr, get_temp_bundles_folder, extract_bundle, save_user_pubaddr
  from catalyst.utils.paths import ensure_directory
label_desc: Use image node_id 13 for calling the Marketplace obj's underlying member method code with example usage: obj.create_metadata(key, secret, ds_name, data_frequency, desc, has_history, has_live) without return types