Skip to content

Commit

Permalink
feat: Add more currency formats for Number properties
Browse files Browse the repository at this point in the history
The number property type in databases now supports additional currency options.
See changelog:
https://developers.notion.com/changelog/number-properties-now-support-more-currency-formats
  • Loading branch information
nlecoy committed Jul 26, 2021
1 parent c9ce630 commit 97155a0
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions notion/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,26 @@ class NumberFormat(str, Enum):
WON = "won"
YEN = "yen"
YUAN = "yuan"
HONG_KONG_DOLLAR = "hong_kong_dollar"
NEW_ZEALAND_DOLLAR = "new_zealand_dollar"
KRONA = "krona"
NORWEGIAN_KRONE = "norwegian_krone"
MEXICAN_PESO = "mexican_peso"
RAND = "rand"
NEW_TAIWAN_DOLLAR = "new_taiwan_dollar"
DANISH_KRONE = "danish_krone"
ZLOTY = "zloty"
BAHT = "baht"
FORINT = "forint"
KORUNA = "koruna"
SHEKEL = "shekel"
CHILEAN_PESO = "chilean_peso"
PHILIPPINE_PESO = "philippine_peso"
DIRHAM = "dirham"
COLOMBIAN_PESO = "colombian_peso"
RIYAL = "riyal"
RINGGIT = "ringgit"
LEU = "leu"


class RollupFunction(str, Enum):
Expand Down

0 comments on commit 97155a0

Please sign in to comment.