Skip to content

Commit 1695709

Browse files
committed
standardize rollup name
1 parent 28d3c60 commit 1695709

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/notion_df/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class NumberFormat(BaseModel):
144144
format: str
145145

146146

147-
class RollUpProperty(BaseModel):
147+
class RollupProperty(BaseModel):
148148
relation_property_name: Optional[str]
149149
relation_property_id: Optional[str]
150150
rollup_property_name: Optional[str]

src/notion_df/configs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
from notion_df.base import (
1717
SelectOptions,
1818
NumberFormat,
19-
RollUpProperty,
19+
RollupProperty,
2020
FormulaProperty,
2121
RelationProperty,
2222
)
@@ -161,7 +161,7 @@ class RelationConfig(BasePropertyConfig):
161161

162162

163163
class RollupConfig(BasePropertyConfig):
164-
roll_up: RollUpProperty
164+
rollup: RollupProperty
165165

166166

167167
class CreatedTimeConfig(BasePropertyConfig):

src/notion_df/values.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def from_value(cls, values: Union[List[str], str]):
136136
return cls(relation=[RelationObject.from_value(values)])
137137

138138

139-
class RollUpValues(BasePropertyValues):
139+
class RollupValues(BasePropertyValues):
140140
pass
141141

142142

0 commit comments

Comments
 (0)