AcademySoftwareFoundation / AcademySoftwareFoundation/OpenTimelineIO

Remove CannotComputeAvailableRangeError import from opentimelineio.core

Open
#1,311 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
2k
Forks
351
Avg merge
1d 12h
Merged PRs (30d)
1

Description

## Feature Request

Remove the import of ` CannotComputeAvailableRangeError` from the `opentimelineio.core` module.

## Description

This exception is made both available from `opentimelineio.core` and `opentimelineio.exceptions`. I believe it should only be made available from `opentimelineio.exceptions`.

## Context

I discovered this in the context of #1209 and initially removed it there, but @meshula mentioned that it would be a better idea to propose the removal in a separate issue. And after more thinking, I added it back and decided to delay this for another time and create this issue.

Contributor guide

Open the contributing guide

Research direction

Inspect the opentimelineio.core and opentimelineio.exceptions modules to trace where CannotComputeAvailableRangeError is imported and exposed. Remove its exposure from opentimelineio.core while retaining it in opentimelineio.exceptions, then run the relevant API or import tests to confirm both outcomes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.