Changeset 4dc09bb in flexoentity
- Timestamp:
- 11/10/25 08:11:08 (2 months ago)
- Branches:
- master
- Children:
- 6ad031b
- Parents:
- 182ba7d
- Location:
- flexoentity
- Files:
-
- 2 edited
-
id_factory.py (modified) (1 diff)
-
logger.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
flexoentity/id_factory.py
r182ba7d r4dc09bb 154 154 155 155 @property 156 def date(self) -> date:156 def date(self): 157 157 """I answer the creation date as a `datetime.date` instance.""" 158 158 return datetime.strptime(self.date_str, "%y%m%d").date() -
flexoentity/logger.py
r182ba7d r4dc09bb 2 2 import logging.config 3 3 import os 4 import tempfile 4 5 from pathlib import Path 5 6 6 7 7 log_dir = Path(os.environ.get('FLEXO_LOG_DIR', '/tmp/'))8 log_dir = Path(os.environ.get('FLEXO_LOG_DIR', tempfile.gettempdir())) 8 9 9 10 log_path = log_dir / 'flexo.log'
Note:
See TracChangeset
for help on using the changeset viewer.
