Return a list of string names corresponding to each of the Fields available in this Layer.
(self)
| 134 | |
| 135 | @property |
| 136 | def fields(self): |
| 137 | """ |
| 138 | Return a list of string names corresponding to each of the Fields |
| 139 | available in this Layer. |
| 140 | """ |
| 141 | return [ |
| 142 | force_str( |
| 143 | capi.get_field_name(capi.get_field_defn(self._ldefn, i)), |
| 144 | self._ds.encoding, |
| 145 | strings_only=True, |
| 146 | ) |
| 147 | for i in range(self.num_fields) |
| 148 | ] |
| 149 | |
| 150 | @property |
| 151 | def field_types(self): |
nothing calls this directly
no test coverage detected