Skip to content

Commit

Permalink
Remove search from transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
akariv committed Jan 26, 2025
1 parent 68f3e9a commit cb2478d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions datapackage_pipelines_budgetkey/pipelines/simpledb/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -955,6 +955,7 @@ def convert_request_summary(row):
name='transaction_id',
description='''
מזהה ייחודי של הבקשה.
חובה לבקש את השדה הזה בכל שאילתה בכדי שתוכל לקבל פרטים נוספים על הבקשה ממאגר budgetary_change_transactions_data.
''',
sample_values=['2005/01-001', '2017/60-003', '2011/18-028'],
type='string',
Expand All @@ -964,7 +965,6 @@ def convert_request_summary(row):
name='change_type',
description='''
סוג הבקשה לשינוי בתקציב.
ניתן להשתמש במזהה הזה על מנת לקבל פרטים נוספים על הבקשה הספציפית ממאגר budgetary_change_details_data.
''',
possible_values=[
'שינוי פנימי',
Expand Down Expand Up @@ -1032,7 +1032,7 @@ def convert_request_summary(row):
name='request_summary',
description='''
מתצית השינויים המבוקשים, מסוכמים לרמת משרד.
לקבלת מידע מפורט יותר, יש לתשאל את מאגר budgetary_change_details_data עם המזהה הייחודי של הבקשה.
לקבלת מידע מפורט יותר, יש לתשאל את מאגר budgetary_change_transactions_data עם השדה transaction_id של הבקשה.
''',
type='object',
sample_values=[
Expand Down Expand Up @@ -1063,7 +1063,7 @@ def convert_request_summary(row):
dict(
name='committee_ids',
description='''
המזהים הייחודיים של הפניות לוועדת הכספים, במידה והשינויים כללו כאלו.
מספרי הפניות לוועדת הכספים, במידה והשינויים כללו כאלו.
''',
sample_values=[[9002], [67, 68], [1001, 1002]],
type='array',
Expand Down Expand Up @@ -1228,7 +1228,7 @@ def get_flow(table, params, debug=False):
return DF.Flow(*steps)

def flow(parameters, *_):
for table, params in PARAMETERS.items():
for table, params in reversed(PARAMETERS.items()):
get_flow(table, params).process()
return DF.Flow(
[dict(done=True)],
Expand Down

0 comments on commit cb2478d

Please sign in to comment.