Skip to content

Commit

Permalink
0.96.0rc3: fix identitycenter import error (cartography-cncf#1390)
Browse files Browse the repository at this point in the history
### 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'
```
  • Loading branch information
Alex Chantavy authored Nov 20, 2024
1 parent f4892b0 commit 0968725
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Empty file.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from setuptools import find_packages
from setuptools import setup

__version__ = '0.96.0rc2'
__version__ = '0.96.0rc3'


setup(
Expand Down

0 comments on commit 0968725

Please sign in to comment.