pynetdicom.utils.set_ae¶
- pynetdicom.utils.set_ae(value: Optional[str], name: str, allow_empty: bool = True, allow_none: bool = True) Optional[str][source]¶
Convert value to an AE like parameter and apply validation.
- Parameters
- Returns
If
allow_emptyisTruethen may returnNone, otherwise the string will be returned.- Return type
str or None