Skip to content

Commit 73a24b0

Browse files
authored
Update README.md
1 parent 53307de commit 73a24b0

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

README.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# exacting
22
> *(adj.) making great demands on one's skill, attention, or other resources.*
33
4+
[**Docs**](https://aweirddev.github.io/exacting)
5+
46
`exacting` is a picky dataclass runtime utility collection, making sure all type annotations are followed.
57

68
Essentially... **THE** go-to option for dataclasses. heh.
@@ -34,17 +36,6 @@ Person(name="John", age=1.23)
3436
# (isinstance) Expected <class 'int'>, got: <class 'float'>
3537
```
3638

37-
Also, you can type anything! Almost.
38-
39-
```python
40-
@exact
41-
class Stuff:
42-
apple: Optional[str]
43-
banana: str | int | bool
44-
45-
# ...they all work!
46-
```
47-
4839
***
4940

5041
WIP. More APIs soon.

0 commit comments

Comments
 (0)