Skip to content

Commit

Permalink
Merge pull request #38 from samLozier/feature/improve_wheel_loader_docs
Browse files Browse the repository at this point in the history
Improve the wheel loader readme
  • Loading branch information
sfc-gh-mrojas committed Apr 15, 2024
2 parents 06c0da5 + caf3e99 commit 46b1551
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions extras/wheel_loader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,15 @@ handler = 'your_handler'
as
$$
import wheel_loader
# load wheel and add to path
wheel_loader.load('pypiexample1-0.1.0-py3-none-any.whl')
wheel_loader.load('pypiexample2-0.1.0-py3-none-any.whl')

def your_handler(arg1, arg2):
wheel_loader.load('pypiexample1-0.1.0-py3-none-any.whl')
wheel_loader.load('pypiexample2-0.1.0-py3-none-any.whl')
# ... rest of the code
return {}
from pypiexample1.some_module import my_function1
from pypiexample2.some_other_module import my_function2

return my_function2(my_function1(arg1, arg2))
$$
```

Expand Down

0 comments on commit 46b1551

Please sign in to comment.