(identity)
| 32 | |
| 33 | @staticmethod |
| 34 | def getAttributeInfo(identity): |
| 35 | if isinstance(identity, (int, str)): |
| 36 | info = eos.db.getAttributeInfo(identity, eager="unit") |
| 37 | elif isinstance(identity, (int, float)): |
| 38 | id_ = int(identity) |
| 39 | info = eos.db.getAttributeInfo(id_, eager="unit") |
| 40 | else: |
| 41 | info = None |
| 42 | return info |
no outgoing calls