Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
b50f87f5
Commit
b50f87f5
authored
Mar 24, 2021
by
Bogdan Mihai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update upload_data.py
parent
643da815
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
34 deletions
+0
-34
upload_data.py
tools/reddit-upload/upload_data.py
+0
-34
No files found.
tools/reddit-upload/upload_data.py
View file @
b50f87f5
...
@@ -50,40 +50,6 @@ if __name__ == '__main__':
...
@@ -50,40 +50,6 @@ if __name__ == '__main__':
for
key
,
value
in
obj_dict
.
items
():
for
key
,
value
in
obj_dict
.
items
():
transaction
[
key
]
=
value
transaction
[
key
]
=
value
#####################TEEEEEEEEEEST###########
transaction
=
{
#"type": "blockchain-transaction",
"ApplicationType"
:
"debug"
,
"docType"
:
"pizza"
,
"id"
:
1
,
"name"
:
"Quatro Formagi"
,
"dough"
:
{
"type"
:
"wheat"
,
"spinach"
:
False
},
"toppings"
:
[
{
"name"
:
"Tomato Sauce"
,
"price"
:
1.00
},
{
"name"
:
"Cheese"
,
"price"
:
0.50
},
{
"name"
:
"Chilli Oil"
,
"price"
:
0.50
},
{
"name"
:
"Peppers"
,
"price"
:
1.50
}
]
}
###################FIN TEEEEST ###############
send_transaction_to_rest_gateway
(
transaction
)
send_transaction_to_rest_gateway
(
transaction
)
summ
+=
1
summ
+=
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment