idmtools_platform_local.internals.ui.utils module

idmtools local platform api utils.

Copyright 2021, Bill & Melinda Gates Foundation. All rights reserved.

class idmtools_platform_local.internals.ui.utils.DateTimeEncoder(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, sort_keys=False, indent=None, separators=None, default=None)

Bases: flask.json.JSONEncoder

Json encoder to handle datetimes.

default(o)

Encode data times use isoformat.