[docs]defget(identifier:str)->SlippageModel:"""Gets the `SlippageModel` that matches with the identifier. Arguments: identifier: The identifier for the `SlippageModel` Raises: KeyError: if identifier is not associated with any `SlippageModel` """ifidentifiernotin_registry.keys():raiseKeyError('Identifier {} is not associated with any `SlippageModel`.'.format(identifier))return_registry[identifier]()