endplay.types.vul
Classes:
|
Encodes the vulnerability |
- class endplay.types.vul.Vul(*values)
Bases:
IntEnumEncodes the vulnerability
Attributes:
A short string representation of the vulnerability
Methods:
find(name)Convert a string into a Vul object
from_board(board_no)from_lin(s)Convert a BBO LIN string of vulnerability into a Vul object.
to_lin()- property abbr: str
A short string representation of the vulnerability
- both = 1
- ew = 3
- static from_lin(s: str) Vul
Convert a BBO LIN string of vulnerability into a Vul object. The conversion is determined by o=none, e=ew, n=ns, b=both
- none = 0
- ns = 2
- to_lin() str