Schema
Objects representing a database schema.
Checkbox
Bases:
Defines the checkbox configuration for a database property.
Source code in src/notional/schema.py
189 190 191 192 |
|
CreatedBy
Bases:
Defines the created-by configuration for a database property.
Source code in src/notional/schema.py
286 287 288 289 |
|
CreatedTime
Bases:
Defines the created-time configuration for a database property.
Source code in src/notional/schema.py
280 281 282 283 |
|
Date
Bases:
Defines the date configuration for a database property.
Source code in src/notional/schema.py
171 172 173 174 |
|
DualPropertyRelation
Bases:
Defines a dual-property relation configuration for a database property.
Source code in src/notional/schema.py
243 244 245 246 247 248 249 250 |
|
Email
Bases:
Defines the email configuration for a database property.
Source code in src/notional/schema.py
195 196 197 198 |
|
Files
Bases:
Defines the files configuration for a database property.
Source code in src/notional/schema.py
183 184 185 186 |
|
Formula
Bases:
Defines the formula configuration for a database property.
Source code in src/notional/schema.py
213 214 215 216 217 218 219 |
|
Function
Bases:
,
Standard aggregation functions.
Source code in src/notional/schema.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|
LastEditedBy
Bases:
Defines the last-edited-by configuration for a database property.
Source code in src/notional/schema.py
292 293 294 295 |
|
LastEditedTime
Bases:
Defines the last-edited-time configuration for a database property.
Source code in src/notional/schema.py
298 299 300 301 |
|
MultiSelect
Bases:
Defines the multi-select configuration for a database property.
Source code in src/notional/schema.py
156 157 158 159 160 161 162 |
|
Number
Bases:
Defines the number configuration for a database property.
Source code in src/notional/schema.py
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
|
__compose__(format)
classmethod
Create a Number
object with the expected format.
Source code in src/notional/schema.py
123 124 125 126 |
|
NumberFormat
Bases:
,
Available number formats in Notion.
Source code in src/notional/schema.py
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
|
People
Bases:
Defines the people configuration for a database property.
Source code in src/notional/schema.py
177 178 179 180 |
|
PhoneNumber
Bases:
Defines the phone number configuration for a database property.
Source code in src/notional/schema.py
207 208 209 210 |
|
PropertyObject
Bases:
Base class for Notion property objects.
Source code in src/notional/schema.py
90 91 92 93 94 |
|
PropertyRelation
Bases:
Defines common configuration for a property relation.
Source code in src/notional/schema.py
222 223 224 225 |
|
Relation
Bases:
Defines the relation configuration for a database property.
Source code in src/notional/schema.py
253 254 255 256 |
|
RichText
Bases:
Defines the rich text configuration for a database property.
Source code in src/notional/schema.py
103 104 105 106 |
|
Rollup
Bases:
Defines the rollup configuration for a database property.
Source code in src/notional/schema.py
259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 |
|
Select
Bases:
Defines the select configuration for a database property.
Source code in src/notional/schema.py
142 143 144 145 146 147 148 149 150 151 152 153 |
|
__compose__(options)
classmethod
Create a Select
object from the list of SelectOption
's.
Source code in src/notional/schema.py
150 151 152 153 |
|
SelectOption
Bases:
Options for select & multi-select objects.
Source code in src/notional/schema.py
129 130 131 132 133 134 135 136 137 138 139 |
|
__compose__(name, color=Color.DEFAULT)
classmethod
Create a SelectOption
object from the given name and color.
Source code in src/notional/schema.py
136 137 138 139 |
|
SinglePropertyRelation
Bases:
Defines a single-property relation configuration for a database property.
Source code in src/notional/schema.py
228 229 230 231 232 233 234 235 236 237 238 239 240 |
|
__compose__(dbref)
classmethod
Create a single_property
relation using the target database reference.
dbref
must be either a string or UUID.
Source code in src/notional/schema.py
233 234 235 236 237 238 239 240 |
|
Status
Bases:
Defines the status configuration for a database property.
Source code in src/notional/schema.py
165 166 167 168 |
|
Title
Bases:
Defines the title configuration for a database property.
Source code in src/notional/schema.py
97 98 99 100 |
|
URL
Bases:
Defines the URL configuration for a database property.
Source code in src/notional/schema.py
201 202 203 204 |
|