(fields)
| 413 | |
| 414 | |
| 415 | def _fields_in_init_order(fields): |
| 416 | # Returns the fields as __init__ will output them. It returns 2 tuples: |
| 417 | # the first for normal args, and the second for keyword args. |
| 418 | |
| 419 | return (tuple(f for f in fields if f.init and not f.kw_only), |
| 420 | tuple(f for f in fields if f.init and f.kw_only) |
| 421 | ) |
| 422 | |
| 423 | |
| 424 | def _tuple_str(obj_name, fields): |
no outgoing calls
no test coverage detected
searching dependent graphs…