File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 4
4
# ########## Libraries #############
5
5
# ##################################
6
6
7
- # standard
8
- from typing import Union
9
-
10
7
# 3rd party
11
8
from mkdocs .config import config_options
12
9
from mkdocs .config .base import Config
@@ -21,8 +18,8 @@ class _DateFromMeta(Config):
21
18
22
19
# TODO: remove deprecated code in future version. Only str values will be accepted
23
20
# for as_creation and as_update
24
- as_creation = config_options .Type (Union [ bool , str ] , default = "git" )
25
- as_update = config_options .Type (Union [ bool , str ] , default = "git" )
21
+ as_creation = config_options .Type (str , default = "git" )
22
+ as_update = config_options .Type (str , default = "git" )
26
23
datetime_format = config_options .Type (str , default = "%Y-%m-%d %H:%M" )
27
24
default_time = config_options .Type (str , default = "00:00" )
28
25
default_timezone = config_options .Type (str , default = "UTC" )
You can’t perform that action at this time.
0 commit comments