Series M v1 model
This commit is contained in:
parent
4817507707
commit
9c0d95f9e3
23
block.py
23
block.py
@ -1,21 +1,4 @@
|
||||
@flowx_block
|
||||
def example_function(request: dict) -> dict:
|
||||
def __main__(application_id: str,tu_credit_report: str) -> dict:
|
||||
hd_score_m1 = 1184
|
||||
|
||||
# Processing logic here...
|
||||
|
||||
return {
|
||||
"meta_info": [
|
||||
{
|
||||
"name": "created_date",
|
||||
"type": "string",
|
||||
"value": "2024-11-05"
|
||||
}
|
||||
],
|
||||
"fields": [
|
||||
{
|
||||
"name": "",
|
||||
"type": "",
|
||||
"value": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
return {"application_id": application_id,"hd_score_m1": hd_score_m1}
|
||||
|
||||
@ -1 +1,15 @@
|
||||
{}
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"application_id": {
|
||||
"type": ["string", "null"],
|
||||
"description": "Unique identifier for the application."
|
||||
},
|
||||
"tu_credit_report": {
|
||||
"type": ["string", "null"],
|
||||
"description": "User Credit report"
|
||||
}
|
||||
},
|
||||
"required": []
|
||||
}
|
||||
|
||||
@ -1 +1,2 @@
|
||||
{}
|
||||
jmespath == 1.0.1
|
||||
regex == 2023.12.25
|
||||
|
||||
@ -1 +1,14 @@
|
||||
{}
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"application_id": {
|
||||
"type": ["string", "null"],
|
||||
"description": "Application Key"
|
||||
},
|
||||
"hd_score_m1": {
|
||||
"type": ["number", "null"],
|
||||
"description": "HD Fraud Score M1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user