Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

Commit f374608

Browse files
author
ahuang11
committed
Update readme and setup.py
1 parent afc9291 commit f374608

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Welcome!
44

5-
Prefect integrations interacting with Monday
5+
Prefect integrations interacting with monday.com.
66

77
The tasks within this collection were created by a code generator using the service's GraphQL schema.
88

@@ -28,18 +28,18 @@ pip install prefect-monday
2828

2929
```python
3030
from prefect import flow
31-
from prefect_monday.tasks import (
32-
goodbye_prefect_monday,
33-
hello_prefect_monday,
34-
)
3531

32+
from prefect_monday.credentials import MondayCredentials
33+
from prefect_monday.me import query_me
3634

3735
@flow
38-
def example_flow():
39-
hello_prefect_monday
40-
goodbye_prefect_monday
36+
def query_me_flow():
37+
monday_credentials = MondayCredentials(token="token")
38+
result = query_me(monday_credentials)
39+
print(result)
40+
return result
4141

42-
example_flow()
42+
query_me_flow()
4343
```
4444

4545
## Resources

setup.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,11 @@
2828
install_requires=install_requires,
2929
include_package_data=True,
3030
extras_require={"dev": dev_requires},
31-
# entry_points={
32-
# "prefect.collections": [
33-
# "prefect-mondayCredentials = prefect_monday.credentials",
34-
# ]
35-
# },
36-
# UPDATE ENTRY POINT ABOVE WITH VALID CLASS
31+
entry_points={
32+
"prefect.collections": [
33+
"MondayCredentials = prefect_monday.credentials",
34+
]
35+
},
3736
classifiers=[
3837
"Natural Language :: English",
3938
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)