azure-servicebus/azure/servicebus/control_client/_common_serialization.py
def _fill_instance_child(xmldoc, element_name, return_type):
        '''Converts a child of the current dom element to the specified type.
        '''
        element = xmldoc.find(_get_serialization_name(element_name))
        if element is None:
            return None

        return_obj = return_type()
        _ETreeXmlToObject._fill_data_to_return_object(element, return_obj)

        return return_obj
def _fill_instance_child(xmldoc, element_name, return_type):
        '''Converts a child of the current dom element to the specified type.
        '''
        element = xmldoc.find(_get_serialization_name(element_name))
        if element is None:
            return None

        return_obj = return_type()
        _ETreeXmlToObject._fill_data_to_return_object(element, return_obj)

        return return_obj
def _fill_instance_child ( xmldoc , element_name , return_type ) : element = xmldoc . find ( _get_serialization_name ( element_name ) ) if element is None : return None return_obj = return_type ( ) _ETreeXmlToObject . _fill_data_to_return_object ( element , return_obj ) return return_obj
Converts a child of the current dom element to the specified type.
Converts a child of the current dom element to the specified type .