original_docstring: Returns a multihash from a digest
  
      Args:
          digest: string
          hash_type: string
              hash type sha2-256
  
      Returns: multihash
          multihash
      
docstring: Returns a multihash from a digest
docstring_tokens: Returns a multihash from a digest
code: def create_multihash(digest, hash_type):
      '''Returns a multihash from a digest
  
      Args:
          digest: string
          hash_type: string
              hash type sha2-256
  
      Returns: multihash
          multihash
      '''
      return multihash.decode(multihash.encode(multihash.from_hex_string(digest), hash_type))
code_tokens: def create_multihash ( digest , hash_type ) : return multihash . decode ( multihash . encode ( multihash . from_hex_string ( digest ) , hash_type ) )
short_docstring: Returns a multihash from a digest
short_docstring_tokens: Returns a multihash from a digest
comment: '''Returns a multihash from a digest
  
      Args:
          digest: string
          hash_type: string
              hash type sha2-256
  
      Returns: multihash
          multihash
      '''