sassoftware / sassoftware/python-swat
Await for CAS actions execution
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 159
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I am developing a backend API which extract data from CAS and returns it to the caller. Since from the backend point of view every CAS action called is an I/O blocking statement, I would like very much to be able to await for them using asyncio.
For instance something like:
async def calculate_data(...):
await cas.dataStep.runCode(code="...")
result = await cas.table.fetch(.....)
return result
Is that something achievable?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Python SWAT entry points that execute CAS actions and fetch table results, then review how blocking calls are exposed to callers. The issue does not name files or tests; done would require a decided design and documented asyncio-compatible execution for both examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100