get_format#
- astropy.units.format.get_format(format: str | type[Base] | None = None) type[Base] [source]#
Get a formatter by name.
- Parameters:
- format
str
orastropy.units.format.Base
subclass The name of the format, or the formatter class itself.
- format
- Returns:
- format
astropy.units.format.Base
subclass The requested formatter.
- format