collab
Advanced tools
+4
-2
@@ -113,4 +113,2 @@ import collections | ||
| id = dictionary.get('id', None) | ||
| if not isinstance(id, int): | ||
| raise exceptions.InvalidParamsException("couldn't parse an Identifier. There was no integer field 'id'.") | ||
| type = dictionary.get('type', None) | ||
@@ -123,2 +121,6 @@ event_types = [a[0] for a in get_shared_truth()['valid_identifier_types']] | ||
| name = dictionary.get('name', None) | ||
| if id is None and name is None: | ||
| raise exceptions.InvalidParamsException("couldn't parse an Identifier. Either an ID or a name must be given.") | ||
| if id is not None and not isinstance(id, int): | ||
| raise exceptions.InvalidParamsException("couldn't parse an Identifier. The field 'id' must be either an integer or null.") | ||
| if name is not None and not isinstance(name, str): | ||
@@ -125,0 +127,0 @@ raise exceptions.InvalidParamsException("couldn't parse an Identifier. The field 'name' must be either a string or null.") |
+1
-1
| Metadata-Version: 1.0 | ||
| Name: collab | ||
| Version: 1.0.197 | ||
| Version: 1.0.198 | ||
| Summary: A library containing basic code useful when creating Docker Images for LegionOfDevs.com | ||
@@ -5,0 +5,0 @@ Home-page: https://legionofdevs.com |
+1
-1
@@ -5,3 +5,3 @@ from distutils.core import setup | ||
| packages = ['collab'], | ||
| version = '1.0.197', | ||
| version = '1.0.198', | ||
| description = 'A library containing basic code useful when creating Docker Images for LegionOfDevs.com', | ||
@@ -8,0 +8,0 @@ long_description = 'A library containing basic code useful when creating Docker Images for LegionOfDevs.com', |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
76027
0.25%1392
0.14%