Skip to content

Commit 5e40cbf

Browse files
author
Joe Snell
committed
update readme
1 parent e55b922 commit 5e40cbf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ To get started you can use the default `Extension` class, or extend it.
1313
Example:
1414

1515
```python
16-
from lef import Extension
16+
import lef
1717

1818
def handler(event):
1919
print(event)
2020

21-
extension = Extension()
22-
extension.register([EventType.INVOKE], handler)
21+
extension = lef.Extension()
22+
extension.register([lef.EventType.INVOKE], handler)
2323
```

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ keywords = [
1313
"AWS Lambda",
1414
"Lambda Extensions",
1515
"Framework",
16-
"Extension Framework"
16+
"Lambda Extension Framework"
1717
]
1818

1919
packages = [

0 commit comments

Comments
 (0)