6e1785173fd670c9a57a2fd7d6dd468945597d20,homeassistant/components/recorder/models.py,States,States_1,#,61
Before Change
index=True)
created = Column(DateTime(timezone=True), default=datetime.utcnow)
__table_args__ = (Index("states__state_changes",
"last_changed", "last_updated", "entity_id"),
Index("states__significant_changes",
"domain", "last_updated", "entity_id"),
Index("ix_states_entity_id_created",
"entity_id", "created"),
Index("ix_states_created_domain",
"created", "domain"),)
@staticmethod
def from_event(event):
Create object from a state_changed event.
After Change
index=True)
created = Column(DateTime(timezone=True), default=datetime.utcnow)
__table_args__ = (
// Used for fetching the state of entities at a specific time
// (get_states in history.py)
Index(
"ix_states_entity_id_last_updated", "entity_id", "last_updated"),)
@staticmethod
def from_event(event):
Create object from a state_changed event.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: home-assistant/home-assistant
Commit Name: 6e1785173fd670c9a57a2fd7d6dd468945597d20
Time: 2017-08-04
Author: OverloadUT@gmail.com
File Name: homeassistant/components/recorder/models.py
Class Name: States
Method Name: States_1
Project Name: commonsense/conceptnet5
Commit Name: 0148088a1b3c05b99f53126b76bf9cf1d1342958
Time: 2018-05-10
Author: rbeaudoin@luminoso.com
File Name: conceptnet5/vectors/propagate.py
Class Name:
Method Name: make_adjacency_matrix
Project Name: pandas-dev/pandas
Commit Name: 66c3c6f4f8b0d73f40e5859c581a25322a935e4e
Time: 2020-11-26
Author: jbrockmendel@gmail.com
File Name: pandas/tests/reshape/concat/test_series.py
Class Name: TestSeriesConcat
Method Name: test_concat_series_axis1_same_names_ignore_index