Return a list of fields in the Feature.
(self)
| 80 | |
| 81 | @property |
| 82 | def fields(self): |
| 83 | "Return a list of fields in the Feature." |
| 84 | return [ |
| 85 | force_str( |
| 86 | capi.get_field_name(capi.get_field_defn(self._layer._ldefn, i)), |
| 87 | self.encoding, |
| 88 | strings_only=True, |
| 89 | ) |
| 90 | for i in range(self.num_fields) |
| 91 | ] |
| 92 | |
| 93 | @property |
| 94 | def geom(self): |
nothing calls this directly
no test coverage detected