We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c432ca3 commit d4c52e8Copy full SHA for d4c52e8
CHANGELOG.md
@@ -5,7 +5,28 @@
5
6
### ⚠ BREAKING CHANGES
7
8
-* The DataFrameExpectationsSuite API has changed. Users must now call .build() before .run().
+* ‼️ BREAKING CHANGE: The DataFrameExpectationsSuite API has changed. Users must now call .build() before .run().
9
+
10
+**Migration guide:**
11
+```python
12
+# Before
13
+suite.run(df)
14
15
+# After
16
+runner = suite.build()
17
+runner.run(df)
18
+```
19
20
+**New decorator feature:**
21
+ ```python
22
+@runner.validate
23
+def load_data():
24
+ return pd.read_csv(\"data.csv\")
25
26
+@runner.validate(allow_none=True)
27
+def optional_load():
28
+ return None # Skip validation when None
29
30
31
### Features
32
0 commit comments