(name, typ, num)
| 138 | ] |
| 139 | |
| 140 | def arg(name, typ, num): |
| 141 | num_args = len(args) |
| 142 | num_defaults = len(self.arg_defaults) |
| 143 | has_default = num + num_defaults >= num_args |
| 144 | default = self.arg_defaults[num - num_args + num_defaults] if has_default else None |
| 145 | return ColumnMetadata(name, typ, [], default, has_default) |
| 146 | |
| 147 | return [arg(name, typ, num) for num, (name, typ) in enumerate(args)] |
| 148 |
nothing calls this directly
no test coverage detected