

def get_field_info(self, field_name):
    result = {
        AUTO_ATTACHED: self._get_default_auto_attached(),
        NAME: (field_name if (field_name not in self._name_mapping) else field_name._name_mapping[field_name]),
        TYPE: None,
    }
    if (result[NAME] in self._type_mapping):
        result[TYPE] = self._type_mapping[result[NAME]]
    elif (result[NAME] in youtrack.EXISTING_FIELD_TYPES):
        result[TYPE] = youtrack.EXISTING_FIELD_TYPES[result[NAME]]
    result[POLICY] = self._get_default_bundle_policy()
    return result

dataset/ETHPy150Open JetBrains/youtrack-rest-python-library/python/csv2youtrack.py CsvYouTrackImportConfig.get_field_info/VarMisuse@39/57 `self`->`field_name`