def field_for(self, field_id):
        """Fetches the field for the given Field ID.

        :param field_id: ID for Field to fetch.
        :return: :class:`ContentTypeField <ContentTypeField>` object.
        :rtype: contentful.ContentTypeField
        """

        for field in self.fields:
            if field.id == field_id:
                return field
        return None
def field_for ( self , field_id ) : for field in self . fields : if field . id == field_id : return field return None
Fetches the field for the given Field ID.

        :param field_id: ID for Field to fetch.
        :return: :class:`ContentTypeField <ContentTypeField>` object.
        :rtype: contentful.ContentTypeField