everything
This commit is contained in:
commit
8f7278c6aa
105 changed files with 1206534 additions and 0 deletions
19
notes/ChatGPT Prompts.md
Normal file
19
notes/ChatGPT Prompts.md
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
**GREAT EXPECTATIONS CONFIGS**
|
||||
- Okay, we are going to work together. Here is some context for you to be aware of. We will be writing code for a Prefect 1 flow. We are using Great Expectations to evaluate some data on a MySQL database.
|
||||
Here is an example:
|
||||
ExpectationConfiguration(
|
||||
expectation_type="expect_column_values_to_be_between",
|
||||
kwargs={"column": "delivery_price", "min_value": 0},
|
||||
meta={"notes": "The delivery price should never be negative."},
|
||||
)
|
||||
|
||||
|
||||
**DOCSTRINGS**
|
||||
- You are going to help me improve some python snippets. Every time I show you a function, I want you to:
|
||||
- Add docstrings if they are missing
|
||||
- Add type hints to the function arguments and return. If you can't clearly infer what type is the right one, just leave a blank space for me to fill.
|
||||
- If the code doesn't follow the same style as the Black python formatter, modify it so it does.
|
||||
- The docstrings should be in reStructuredText format.
|
||||
- Never add the :type: entries to the reStructuredText docstrings.
|
||||
- Everytime I want you to do this for a python snippet, I will say: "fix this snippet"
|
||||
Loading…
Add table
Add a link
Reference in a new issue