Skip to content

Fix AWS cloudshell Python version issue#82

Merged
sureshcsdp merged 2 commits intomainfrom
PR77
Feb 23, 2026
Merged

Fix AWS cloudshell Python version issue#82
sureshcsdp merged 2 commits intomainfrom
PR77

Conversation

@sureshcsdp
Copy link
Collaborator

No description provided.



def create_aws_session(profile: str | None, region: str) -> Session:
def create_aws_session(profile: Optional[str], region: str) -> Session:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix for cloudshell error : TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we are not seeing this error during local testing ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, only in aws cloudshell

@sureshcsdp sureshcsdp merged commit 3639d0a into main Feb 23, 2026
14 checks passed
@sureshcsdp sureshcsdp deleted the PR77 branch February 23, 2026 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants