mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-05 03:57:25 +02:00
Add comments
This commit is contained in:
parent
ff37e510f1
commit
5530db82fd
1 changed files with 6 additions and 0 deletions
|
@ -102,12 +102,18 @@ def available(request, domain=""):
|
||||||
@require_http_methods(["GET"])
|
@require_http_methods(["GET"])
|
||||||
@login_not_required
|
@login_not_required
|
||||||
def get_current_full(request, file_path="migrationdata/current-full.csv"):
|
def get_current_full(request, file_path="migrationdata/current-full.csv"):
|
||||||
|
"""This will return the file content of current-full.csv which is the command
|
||||||
|
output of generate_current_full_report.py. This command iterates through each Domain
|
||||||
|
and returns a CSV representation."""
|
||||||
return serve_file(file_path)
|
return serve_file(file_path)
|
||||||
|
|
||||||
|
|
||||||
@require_http_methods(["GET"])
|
@require_http_methods(["GET"])
|
||||||
@login_not_required
|
@login_not_required
|
||||||
def get_current_federal(request, file_path="migrationdata/current-federal.csv"):
|
def get_current_federal(request, file_path="migrationdata/current-federal.csv"):
|
||||||
|
"""This will return the file content of current-federal.csv which is the command
|
||||||
|
output of generate_current_federal_report.py. This command iterates through each Domain
|
||||||
|
and returns a CSV representation."""
|
||||||
return serve_file(file_path)
|
return serve_file(file_path)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue