NOJIRA added runnen and autoformatted
This commit is contained in:
2
main.py
2
main.py
@@ -98,7 +98,7 @@ def _anonymize_name(name: str) -> str:
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
def _get_data():
|
def _get_data() -> DTO:
|
||||||
credentials: Credentials = Credentials.from_service_account_file('token.json', scopes=_SCOPES)
|
credentials: Credentials = Credentials.from_service_account_file('token.json', scopes=_SCOPES)
|
||||||
|
|
||||||
service = build('sheets', 'v4', credentials=credentials)
|
service = build('sheets', 'v4', credentials=credentials)
|
||||||
|
|||||||
2
run-locally.sh
Executable file
2
run-locally.sh
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
functions_framework --target process
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
<link rel="stylesheet" href="https://unpkg.com/github-markdown-css@4.0.0/github-markdown.css"/>
|
<link rel="stylesheet" href="https://unpkg.com/github-markdown-css@4.0.0/github-markdown.css"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="markdown-body">
|
<div class="markdown-body">
|
||||||
<h1>Reeds besteld</h1>
|
<h1>Reeds besteld</h1>
|
||||||
<ol>
|
<ol>
|
||||||
{% for applicant in dto.applicants %}
|
{% for applicant in dto.applicants %}
|
||||||
@@ -32,6 +32,9 @@
|
|||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
<p> Heb je feedback?
|
||||||
|
<a href="https://docs.google.com/forms/d/e/1FAIpQLSddGpp9kbvW9QfLVATOM3pJqhq1ci0_gdZdpGmXmkPRMoiLEw/viewform?usp=sf_link"
|
||||||
|
title="hier" target="_blank">Klik hier!</a></p>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user