Skip to content

Commit

Permalink
jobs added
Browse files Browse the repository at this point in the history
  • Loading branch information
GabeMed committed Nov 10, 2023
1 parent 7a47079 commit c6a7ed7
Show file tree
Hide file tree
Showing 10 changed files with 342 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Abstra-Templates/Students Attendance/.abstraignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.abstra

.git
.gitignore

__pycache__
.venv
.env
196 changes: 196 additions & 0 deletions Abstra-Templates/Students Attendance/abstra.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
{
"version": "0.1",
"workspace": {
"name": "Untitled Workspace",
"sidebar": [
{
"id": "uump60km1q",
"name": "New form",
"path": "uump60km1q",
"type": "form",
"visible": false
},
{
"id": "ffo71a8o297",
"name": "New form",
"path": "ffo71a8o297",
"type": "form",
"visible": false
},
{
"id": "9guq86u39n8",
"name": "New form",
"path": "9guq86u39n8",
"type": "form",
"visible": false
},
{
"id": "idqq7zzpa7t",
"name": "New form",
"path": "idqq7zzpa7t",
"type": "form",
"visible": false
},
{
"id": "er4h3amo0i",
"name": "New form",
"path": "er4h3amo0i",
"type": "form",
"visible": false
},
{
"id": "fen6uffg3x6",
"name": "New form",
"path": "fen6uffg3x6",
"type": "form",
"visible": false
}
],
"root": null,
"theme": null,
"logo_url": null,
"brand_name": null,
"main_color": null,
"font_family": null,
"font_color": null
},
"jobs": [],
"hooks": [],
"forms": [
{
"id": "uump60km1q",
"path": "uump60km1q",
"title": "New form",
"is_initial": true,
"auto_start": false,
"allow_restart": false,
"end_message": null,
"start_message": null,
"error_message": null,
"welcome_title": null,
"timeout_message": null,
"start_button_text": null,
"restart_button_text": null,
"file": "new_form_uump60km1q.py",
"workflow_position": [
198.9012345679012,
290.92592592592587
],
"transitions": [
{
"target_path": "ffo71a8o297",
"target_type": "forms",
"label": "",
"id": "cw59bv44ac"
}
]
},
{
"id": "ffo71a8o297",
"path": "ffo71a8o297",
"title": "New form",
"is_initial": false,
"auto_start": false,
"allow_restart": false,
"end_message": null,
"start_message": null,
"error_message": null,
"welcome_title": null,
"timeout_message": null,
"start_button_text": null,
"restart_button_text": null,
"file": "new_form_ffo71a8o297.py",
"workflow_position": [
485.320987654321,
290.9259259259259
],
"transitions": []
},
{
"id": "9guq86u39n8",
"path": "9guq86u39n8",
"title": "New form",
"is_initial": true,
"auto_start": false,
"allow_restart": false,
"end_message": null,
"start_message": null,
"error_message": null,
"welcome_title": null,
"timeout_message": null,
"start_button_text": null,
"restart_button_text": null,
"file": "new_form_9guq86u39n8.py",
"workflow_position": [
810.0123456790124,
281.0493827160493
],
"transitions": []
},
{
"id": "idqq7zzpa7t",
"path": "idqq7zzpa7t",
"title": "New form",
"is_initial": true,
"auto_start": false,
"allow_restart": false,
"end_message": null,
"start_message": null,
"error_message": null,
"welcome_title": null,
"timeout_message": null,
"start_button_text": null,
"restart_button_text": null,
"file": "new_form_idqq7zzpa7t.py",
"workflow_position": [
1287.7901234567898,
278.58024691358025
],
"transitions": []
},
{
"id": "er4h3amo0i",
"path": "er4h3amo0i",
"title": "New form",
"is_initial": true,
"auto_start": false,
"allow_restart": false,
"end_message": null,
"start_message": null,
"error_message": null,
"welcome_title": null,
"timeout_message": null,
"start_button_text": null,
"restart_button_text": null,
"file": "new_form_er4h3amo0i.py",
"workflow_position": [
1116.185185185185,
131.66666666666666
],
"transitions": []
},
{
"id": "fen6uffg3x6",
"path": "fen6uffg3x6",
"title": "New form",
"is_initial": true,
"auto_start": false,
"allow_restart": false,
"end_message": null,
"start_message": null,
"error_message": null,
"welcome_title": null,
"timeout_message": null,
"start_button_text": null,
"restart_button_text": null,
"file": "new_form_fen6uffg3x6.py",
"workflow_position": [
858.1604938271605,
146.48148148148147
],
"transitions": []
}
],
"dashes": [],
"scripts": []
}
23 changes: 23 additions & 0 deletions Abstra-Templates/Students Attendance/new_form_9guq86u39n8.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import abstra.forms as af
import abstra.workflows as aw

"""
Abstra forms are the simplest way to build user interfaces for your workflows.
"""

name = af.read("Hello there! What is your name?")
af.display(f"Hello {name}!")


# You can save and get information from the workflow context
stage = aw.get_stage()
stage["name"] = name

ans = af.read_multiple_choice("Are you familiar with Abstra?", ["Yes", "No"])

if ans == "Yes":
af.display("Great! Have fun!")
else:
af.display_link(
"https://docs.abstra.io/forms/overview", link_text="Check out the docs!"
)
23 changes: 23 additions & 0 deletions Abstra-Templates/Students Attendance/new_form_er4h3amo0i.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import abstra.forms as af
import abstra.workflows as aw

"""
Abstra forms are the simplest way to build user interfaces for your workflows.
"""

name = af.read("Hello there! What is your name?")
af.display(f"Hello {name}!")


# You can save and get information from the workflow context
stage = aw.get_stage()
stage["name"] = name

ans = af.read_multiple_choice("Are you familiar with Abstra?", ["Yes", "No"])

if ans == "Yes":
af.display("Great! Have fun!")
else:
af.display_link(
"https://docs.abstra.io/forms/overview", link_text="Check out the docs!"
)
23 changes: 23 additions & 0 deletions Abstra-Templates/Students Attendance/new_form_fen6uffg3x6.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import abstra.forms as af
import abstra.workflows as aw

"""
Abstra forms are the simplest way to build user interfaces for your workflows.
"""

name = af.read("Hello there! What is your name?")
af.display(f"Hello {name}!")


# You can save and get information from the workflow context
stage = aw.get_stage()
stage["name"] = name

ans = af.read_multiple_choice("Are you familiar with Abstra?", ["Yes", "No"])

if ans == "Yes":
af.display("Great! Have fun!")
else:
af.display_link(
"https://docs.abstra.io/forms/overview", link_text="Check out the docs!"
)
23 changes: 23 additions & 0 deletions Abstra-Templates/Students Attendance/new_form_ffo71a8o297.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import abstra.forms as af
import abstra.workflows as aw

"""
Abstra forms are the simplest way to build user interfaces for your workflows.
"""

name = af.read("Hello there! What is your name?")
af.display(f"Hello {name}!")


# You can save and get information from the workflow context
stage = aw.get_stage()
stage["name"] = name

ans = af.read_multiple_choice("Are you familiar with Abstra?", ["Yes", "No"])

if ans == "Yes":
af.display("Great! Have fun!")
else:
af.display_link(
"https://docs.abstra.io/forms/overview", link_text="Check out the docs!"
)
23 changes: 23 additions & 0 deletions Abstra-Templates/Students Attendance/new_form_idqq7zzpa7t.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import abstra.forms as af
import abstra.workflows as aw

"""
Abstra forms are the simplest way to build user interfaces for your workflows.
"""

name = af.read("Hello there! What is your name?")
af.display(f"Hello {name}!")


# You can save and get information from the workflow context
stage = aw.get_stage()
stage["name"] = name

ans = af.read_multiple_choice("Are you familiar with Abstra?", ["Yes", "No"])

if ans == "Yes":
af.display("Great! Have fun!")
else:
af.display_link(
"https://docs.abstra.io/forms/overview", link_text="Check out the docs!"
)
23 changes: 23 additions & 0 deletions Abstra-Templates/Students Attendance/new_form_uump60km1q.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import abstra.forms as af
import abstra.workflows as aw

"""
Abstra forms are the simplest way to build user interfaces for your workflows.
"""

name = af.read("Hello there! What is your name?")
af.display(f"Hello {name}!")


# You can save and get information from the workflow context
stage = aw.get_stage()
stage["name"] = name

ans = af.read_multiple_choice("Are you familiar with Abstra?", ["Yes", "No"])

if ans == "Yes":
af.display("Great! Have fun!")
else:
af.display_link(
"https://docs.abstra.io/forms/overview", link_text="Check out the docs!"
)
Empty file added jobs/etl_from_postgresql.py
Empty file.
Empty file added jobs/requirements.txt
Empty file.

0 comments on commit c6a7ed7

Please sign in to comment.