The registered names of the current blueprint upwards through parent blueprints. This will be an empty list if there is no current blueprint, or if URL matching failed. .. versionadded:: 2.0.1
(self)
| 179 | |
| 180 | @property |
| 181 | def blueprints(self) -> list[str]: |
| 182 | """The registered names of the current blueprint upwards through |
| 183 | parent blueprints. |
| 184 | |
| 185 | This will be an empty list if there is no current blueprint, or |
| 186 | if URL matching failed. |
| 187 | |
| 188 | .. versionadded:: 2.0.1 |
| 189 | """ |
| 190 | name = self.blueprint |
| 191 | |
| 192 | if name is None: |
| 193 | return [] |
| 194 | |
| 195 | return _split_blueprint_path(name) |
| 196 | |
| 197 | def _load_form_data(self) -> None: |
| 198 | super()._load_form_data() |
nothing calls this directly
no test coverage detected