(name: str)
Returns an Encoder object for the given encoding name
	
	Raises
	------
	~ipfshttpclient.exceptions.EncoderMissingError
	
	Parameters
	----------
	name
		Encoding name. Supported options:
		
		 * ``"none"``
		 * ``"json"``
Returns an Encoder object for the given encoding name
	
	Raises
	------
	~ipfshttpclient.exceptions.EncoderMissingError
	
	Parameters
	----------
	name
		Encoding name. Supported options:
		
		 * ``"none"``
		 * ``"json"``
Returns an Encoder object for the given encoding name Raises ------ ~ipfshttpclient . exceptions . EncoderMissingError Parameters ---------- name Encoding name . Supported options : * none * json
def get_encoding(name: str) -> Encoding[ty.Any]:  # noqa: E302
	"""Returns an Encoder object for the given encoding name
	
	Raises
	------
	~ipfshttpclient.exceptions.EncoderMissingError
	
	Parameters
	----------
	name
		Encoding name. Supported options:
		
		 * ``"none"``
		 * ``"json"``
	"""
	try:
		return __encodings[name.lower()]()
	except KeyError:
		raise exceptions.EncoderMissingError(name) from None
def get_encoding ( name : str ) -> Encoding [ ty . Any ] : # noqa: E302 try : return __encodings [ name . lower ( ) ] ( ) except KeyError : raise exceptions . EncoderMissingError ( name ) from None