This repository was archived by the owner on Apr 25, 2024. It is now read-only.
File tree 2 files changed +14
-15
lines changed
2 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Welcome!
4
4
5
- Prefect integrations interacting with Monday
5
+ Prefect integrations interacting with monday.com.
6
6
7
7
The tasks within this collection were created by a code generator using the service's GraphQL schema.
8
8
@@ -28,18 +28,18 @@ pip install prefect-monday
28
28
29
29
``` python
30
30
from prefect import flow
31
- from prefect_monday.tasks import (
32
- goodbye_prefect_monday,
33
- hello_prefect_monday,
34
- )
35
31
32
+ from prefect_monday.credentials import MondayCredentials
33
+ from prefect_monday.me import query_me
36
34
37
35
@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
41
41
42
- example_flow ()
42
+ query_me_flow ()
43
43
```
44
44
45
45
## Resources
Original file line number Diff line number Diff line change 28
28
install_requires = install_requires ,
29
29
include_package_data = True ,
30
30
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
+ },
37
36
classifiers = [
38
37
"Natural Language :: English" ,
39
38
"Intended Audience :: Developers" ,
You can’t perform that action at this time.
0 commit comments