Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

fix: Python classes should be surrounded by two blank lines #142

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You'll see something like this:

![](./structure.png)

* .env - The python virtual envirnment information discussed in the previous section.
* .env - The python virtual environment information discussed in the previous section.
* cdkworkshop — A Python module directory.
* cdkworkshop.egg-info - Folder that contains build information relevant for the packaging on the project
* cdkworkshop_stack.py—A custom CDK stack construct for use in your CDK application.
Expand Down Expand Up @@ -63,6 +63,7 @@ from aws_cdk import (
core
)


class CdkWorkshopStack(core.Stack):

def __init__(self, scope: core.Construct, id: str, **kwargs) -> None:
Expand Down
1 change: 1 addition & 0 deletions workshop/content/30-python/40-hit-counter/100-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ from aws_cdk import (
core
)


class HitCounter(core.Construct):

def __init__(self, scope: core.Construct, id: str, downstream: _lambda.IFunction, **kwargs):
Expand Down
1 change: 1 addition & 0 deletions workshop/content/30-python/40-hit-counter/300-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ from aws_cdk import (
core,
)


class HitCounter(core.Construct):

@property
Expand Down
2 changes: 2 additions & 0 deletions workshop/content/30-python/40-hit-counter/600-permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ from aws_cdk import (
core,
)


class HitCounter(core.Construct):

@property
Expand Down Expand Up @@ -118,6 +119,7 @@ from aws_cdk import (
core,
)


class HitCounter(core.Construct):

@property
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ from aws_cdk import (
core,
)


class HitCounter(core.Construct):

@property
Expand Down