AcademySoftwareFoundation / AcademySoftwareFoundation/OpenCue
[pycue] Proc type uses wrong attribute for booked_time
- Dominant language
- Python
- Stars
- 957
- Forks
- 259
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 16
Description
**Describe the bug**
The api wrapper proc.py implements a function bookedTime that fails with AttributeError.
**To Reproduce**
```python
host = opencue.api.findHost("")
procs = host.getProcs()
proc = procs[0] # type(proc) == opencue.wrappers.proc.Proc
proc.bookedTime() # AttributeError: 'Proc' object has no attribute 'booked_time'
```
Contributor guide
Research direction
Start in the pycue API wrapper's proc.py and inspect the bookedTime function alongside the Proc attributes it uses. Verify the attribute name against the Proc object, then reproduce the example call to confirm bookedTime no longer raises AttributeError and returns the booked time.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100