Ensure key meets requirements.
(key)
| 35 | |
| 36 | |
| 37 | def check_key(key): |
| 38 | """ |
| 39 | Ensure key meets requirements. |
| 40 | """ |
| 41 | assert isinstance(key, six.string_types), "Key not a string. Got %s" % type(key) |
| 42 | assert key, "Key cannot be empty string." |
no outgoing calls
no test coverage detected