We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f4924f commit e18180eCopy full SHA for e18180e
1 file changed
README.md
@@ -15,6 +15,7 @@ A collection of Value Objects to save time by generalizing types and format vali
15
* [String value-objects](#string-value-objects)
16
* [String](#string)
17
* [Nullable String](#nullable-string)
18
+ * [Uuid4](#uuid4)
19
20
21
# Value-objects
@@ -83,4 +84,16 @@ my_nullable_str = NullableString(None)
83
84
85
# Getting raw value
86
my_nullable_str.value() # returns -> None
87
+```
88
+
89
+### Uuid4
90
91
+```python
92
+from pyvalueobjects import Uuid4
93
94
+# Creation
95
+my_uuid4 = Uuid4('6c7add12-bf35-459e-a6c5-3178a2a33011')
96
97
+# Getting raw value
98
+my_uuid4.value() # returns -> '6c7add12-bf35-459e-a6c5-3178a2a33011'
99
```
0 commit comments