aws / aws/aws-encryption-sdk-python

Feature request: Add support for typing with mypy

Open
#563 3 comments 2 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Python
Stars
255
Forks
92
Avg merge
2d 17h
Merged PRs (30d)
2

Description

### Problem:

Using the aws_encryption_sdk in a project with mypy produces this error:

```
error: Skipping analyzing "aws_encryption_sdk": module is installed, but missing library stubs or py.typed marker
```

### Solution:

I attempted to simply add the py.typed marker file to my virtualenv and it seems not as simple, a lot of other incompatibilities.
Maybe stubs or .pyi could be provided

Thank you very much!

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported mypy error when importing aws_encryption_sdk, then inspect the package's public typing surface and the incompatibilities mentioned in the issue. Determine whether the package can use a py.typed marker or needs stubs, and consider the work done when mypy can analyze the supported public imports without these errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.