From 0968725b4b52e7ab90a304ffb8801e93d23c8e3a Mon Sep 17 00:00:00 2001 From: Alex Chantavy Date: Wed, 20 Nov 2024 13:00:44 -0800 Subject: [PATCH] 0.96.0rc3: fix identitycenter import error (#1390) ### Summary > Describe your changes. Adds a missing `__init__.py` file to AWS identitycenter. Without this, running ``` import cartography.intel.aws ``` in a separate script will cause the script to fail with a `ModuleNotFoundError`. Crash dump: ``` from cartography.sync import Sync .. import cartography.intel.aws .. from .resources import RESOURCE_FUNCTIONS .. from . import identitycenter .. from cartography.models.aws.identitycenter.awsidentitycenter import AWSIdentityCenterInstanceSchema E ModuleNotFoundError: No module named 'cartography.models.aws.identitycenter' ``` --- cartography/models/aws/identitycenter/__init__.py | 0 setup.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 cartography/models/aws/identitycenter/__init__.py diff --git a/cartography/models/aws/identitycenter/__init__.py b/cartography/models/aws/identitycenter/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/setup.py b/setup.py index 2e3e9e7f04..3bc05d0b54 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import find_packages from setuptools import setup -__version__ = '0.96.0rc2' +__version__ = '0.96.0rc3' setup(