code: def _fields_in_init_order(fields):
      # Returns the fields as __init__ will output them.  It returns 2 tuples:
      # the first for normal args, and the second for keyword args.
  
      return (
          tuple(f for f in fields if f.init and not f.kw_only),
          tuple(f for f in fields if f.init and f.kw_only),
      )
  
imports: import re
  import sys
  import copy
  import types
  import inspect
  import keyword
  import builtins
  import functools
  import itertools
  import abc
  import _thread
  from types import FunctionType, GenericAlias
label_desc: Use image node_id 3 for calling a global function with example usage: _fields_in_init_order(fields) and returns: tuple,  tuple