try_parse method
Leave feedback
On this page
Returns the Barcode type matching the given parsing type name.
If the name is unknown, the method returns None instead of raising an exception.
def try_parse(cls, parsing_type):
...
| Parameter | Type | Description |
|---|---|---|
| parsing_type | str |
Source string of barcode type name. |
Returns: BarcodeType: The matching BarcodeType instance, or None if not found.
- class
BarcodeTypes
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.