Skip to content

Commit

Permalink
0.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
xncbf committed Jun 14, 2022
1 parent 174e523 commit d290ad0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "rcs-pydantic"
version = "0.2.5"
version = "0.2.6"
description = ""
authors = ["xncbf <[email protected]>"]
keywords = ["pydantic", "rcs", "fastapi"]
Expand Down
2 changes: 1 addition & 1 deletion rcs_pydantic/scheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def footer_validator(cls, v, values, **kwargs):
- "media" :"maapfile://{fileId}"
"""

buttons: Optional[List[ButtonInfo, EmptyDict]]
buttons: Optional[List[Union[ButtonInfo, EmptyDict]]]
"""
# buttons
GSMA RCC.07의3.6.10.4의 ‘suggestions’ 규격에 준하여 버튼을 구성
Expand Down
2 changes: 1 addition & 1 deletion tests/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class Meta:
chatbotId: str = factory.LazyAttribute(lambda n: fake.sentence(nb_words=10)[:40])

@factory.lazy_attribute
def timeStamp(self) -> str:
def timestamp(self) -> str:
t = datetime.now()
s: str = t.strftime("%Y-%m-%dT%H:%M:%S.%f")
s = s[:-3]
Expand Down

0 comments on commit d290ad0

Please sign in to comment.