altair.TimeFormatSpecifier
altair.TimeFormatSpecifier(date=Undefined, day=Undefined, hours=Undefined, milliseconds=Undefined, minutes=Undefined, month=Undefined, quarter=Undefined, seconds=Undefined, week=Undefined, year=Undefined, **kwds)
Обёртка схемы TimeFormatSpecifier.
Параметры
date—strday—strhours—strmilliseconds—strminutes—strmonth—strquarter—strseconds—strweek—stryear—str
Конструктор
__init__(date=Undefined, day=Undefined, hours=Undefined, milliseconds=Undefined, minutes=Undefined, month=Undefined, quarter=Undefined, seconds=Undefined, week=Undefined, year=Undefined, **kwds)
Методы
| Метод | Описание |
|---|---|
__init__ |
|
copy(deep, ignore) |
Возвращает копию объекта. |
from_dict(dct, validate) |
Создаёт экземпляр класса из представления в виде словаря. |
from_json(json_string, validate, **kwargs) |
Создаёт экземпляр объекта из корректной строки JSON. |
resolve_references(schema) |
Разрешает ссылки в контексте схемы объекта или корневой схемы. |
to_dict(validate, ignore, context) |
Возвращает представление объекта в виде словаря. |
to_json(validate, indent, sort_keys, ignore, …) |
Возвращает представление объекта в строке JSON. |
validate(instance, schema) |
Проверяет экземпляр по схеме класса в контексте корневой схемы. |
validate_property(name, value, schema) |
Проверяет свойство по его схеме в контексте корневой схемы. |