src/prost/prost.py
def find_all_keys(obj) -> set[str]:
  """Finds all tag keys in object (with options) """
  return T.pipe(obj, tree.flatten, set,
                T.mapcat(lambda x: string.Formatter().parse(x)),
                T.filter(T.get(1)),
                T.map(lambda x: x[1] if not x[2] else '%s:%s' % (x[1], x[2])),
                list, set)
Finds all tag keys in object (with options) 
Finds all tag keys in object (with options)
Finds all tag keys in object ( with options )
def find_all_keys(obj) -> set[str]:
  return T.pipe(obj, tree.flatten, set,
                T.mapcat(lambda x: string.Formatter().parse(x)),
                T.filter(T.get(1)),
                T.map(lambda x: x[1] if not x[2] else '%s:%s' % (x[1], x[2])),
                list, set)
def find_all_keys ( obj ) -> set [ str ] : return T . pipe ( obj , tree . flatten , set , T . mapcat ( lambda x : string . Formatter ( ) . parse ( x ) ) , T . filter ( T . get ( 1 ) ) , T . map ( lambda x : x [ 1 ] if not x [ 2 ] else '%s:%s' % ( x [ 1 ] , x [ 2 ] ) ) , list , set )
Finds all tag keys in object (with options)
Finds all tag keys in object ( with options )
"""Finds all tag keys in object (with options) """
obj