diff --git a/LICENSE b/LICENSE index 363bcb7..defe8be 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -MIT License Copyright (c) 2022 Drew Bednar +MIT License Copyright (c) 2023 Drew Bednar Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/project/users/views.py b/project/users/views.py index 56bd921..cb736a3 100644 --- a/project/users/views.py +++ b/project/users/views.py @@ -45,6 +45,8 @@ def task_status(task_id: str): """Check async task result. Endpoint is used for XHR short polling to check the task status. + + A result of "PENDING" will be returned for task_id's that don't actually exist. """ task = AsyncResult(task_id) state = task.state