You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

collab

Package Overview
Dependencies
Maintainers
1
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

collab - pypi Package Compare versions

Comparing version
1.0.197
to
1.0.198
+4
-2
collab/basics.py

@@ -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.")

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

@@ -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',