AcademySoftwareFoundation / AcademySoftwareFoundation/OpenCue

[pycue] Proc type uses wrong attribute for booked_time

Closed
#2,091 0 comments 0 reactions 0 assignees View on GitHub
bug
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.