Fake data to ingest into the feature store
()
| 429 | |
| 430 | @pytest.fixture |
| 431 | def 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 |
nothing calls this directly
no test coverage detected