MCPcopy
hub / github.com/feast-dev/feast / fake_ingest_data

Function fake_ingest_data

sdk/python/tests/conftest.py:431–444  ·  view source on GitHub ↗

Fake data to ingest into the feature store

()

Source from the content-addressed store, hash-verified

429
430@pytest.fixture
431def fake_ingest_data():
432 """Fake data to ingest into the feature store"""
433 data = {
434 "driver_id": [1],
435 "conv_rate": [0.5],
436 "acc_rate": [0.6],
437 "avg_daily_trips": [4],
438 "driver_metadata": [None],
439 "driver_config": [None],
440 "driver_profile": [None],
441 "event_timestamp": [pd.Timestamp(_utc_now()).round("ms")],
442 "created": [pd.Timestamp(_utc_now()).round("ms")],
443 }
444 return pd.DataFrame(data)
445
446
447@pytest.fixture

Callers

nothing calls this directly

Calls 1

_utc_nowFunction · 0.90

Tested by

no test coverage detected