(self, check_names=None)
return sorted(fieldnames)
Returns a list of the names of the fields in this schema.

        :param check_names: (optional) sequence of field names to check
            whether the schema accepts them as (dynamic) field names -
            acceptable names will also be in the result list.
            Note: You may also have static field names in check_names, that
            won't create duplicates in the result list. Unsupported names
            will not be in the result list.
Returns a list of the names of the fields in this schema.
Returns a list of the names of the fields in this schema .
def names(self, check_names=None):
        """Returns a list of the names of the fields in this schema.

        :param check_names: (optional) sequence of field names to check
            whether the schema accepts them as (dynamic) field names -
            acceptable names will also be in the result list.
            Note: You may also have static field names in check_names, that
            won't create duplicates in the result list. Unsupported names
            will not be in the result list.
        """

        fieldnames = set(self._fields.keys())
        if check_names is not None:
            check_names = set(check_names) - fieldnames
            fieldnames.update(fieldname for fieldname in check_names
                              if fieldname in self)
        return sorted(fieldnames)
def names ( self , check_names = None ) : fieldnames = set ( self . _fields . keys ( ) ) if check_names is not None : check_names = set ( check_names ) - fieldnames fieldnames . update ( fieldname for fieldname in check_names if fieldname in self ) return sorted ( fieldnames )