aws-samples / aws-samples/amazon-textract-textractor
how to use get_result?
- Dominant language
- Jupyter Notebook
- Stars
- 493
- Forks
- 163
- PR merge metrics
- No merged PRs in 30d
Description
I tried this line:
`document = extractor.get_result(job_id=job_id, TextractAPI.ANALYZE)`
and I get:
`[ERROR] Runtime.UserCodeSyntaxError: Syntax error in module 'lambda_function': positional argument follows keyword argument `
Also tried:
` document = extractor.get_result(job_id=job_id, api=TextractAPI.ANALYZE)`
but didn't work either.
What is the right way to invoke it for tables?
Contributor guide
Research direction
Start by checking the get_result entry point and the TextractAPI.ANALYZE argument usage shown in the issue. Confirm the supported invocation for table extraction and document an example that completes without the positional-argument syntax error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- api
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100