Register a new set of projections.
(self, *projections)
| 73 | self._all_projection_types = {} |
| 74 | |
| 75 | def register(self, *projections): |
| 76 | """Register a new set of projections.""" |
| 77 | for projection in projections: |
| 78 | name = projection.name |
| 79 | self._all_projection_types[name] = projection |
| 80 | |
| 81 | def get_projection_class(self, name, _error_cls=KeyError): |
| 82 | """Get a projection class from its *name*.""" |
no outgoing calls