mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 09:37:27 +00:00
* point transfers api integration * upd 2 silver models * gha workflow with auth * upd gha workflow * add gha on push config for testing * add print step * chg echo * upd auth.py * rm run on commit from gha * upd model tags * merge 2 silver into 1, add yml, upd gha * upd auth return vals * add exit 1 on failure * upd return on success True * add gha on-run config for final test * add backup default to env_var(JWT) * add backup default to env_var(JWT) - 2 * rm run on commit from gha and upd sql limit for balance call * add yml for evm address model * add evm address threshold test * upd gha workflow * upd per CRs
56 lines
1.1 KiB
YAML
56 lines
1.1 KiB
YAML
version: 2
|
|
|
|
models:
|
|
- name: silver_api__reward_points
|
|
description: "Response from the Reward Points API"
|
|
tests:
|
|
- dbt_utils.recency:
|
|
datepart: day
|
|
field: request_date
|
|
interval: 1
|
|
|
|
columns:
|
|
- name: partition_key
|
|
|
|
- name: address
|
|
|
|
- name: request_date
|
|
|
|
- name: boxes
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
|
column_type_list:
|
|
- NUMBER
|
|
|
|
- name: boxes_opened
|
|
|
|
- name: eth_address
|
|
|
|
- name: keys
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
|
column_type_list:
|
|
- NUMBER
|
|
|
|
- name: points
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
|
column_type_list:
|
|
- NUMBER
|
|
|
|
- name: reward_points_id
|
|
tests:
|
|
- not_null
|
|
- unique
|
|
|
|
- name: _inserted_timestamp
|
|
|
|
- name: inserted_timestamp
|
|
|
|
- name: modified_timestamp
|
|
|
|
- name: _invocation_id
|