Skip to content

Refactor ayon_sitesync/providers/lib.py #46

@kalisp

Description

@kalisp

Is there an existing issue for this?

  • I have searched the existing issues and added correct labels.

Please describe the feature you have in mind and explain what the current shortcomings are?

This file directly imports all dependencies even if they might not be needed. It could happen if provider is not selected in any site or if SiteSync addon should be deleted.

Suggested implementation?

Move imports only to class itself when _get_creator_info will not find that provider.

Describe alternatives you've considered:

No response

Metadata

Metadata

Assignees

Labels

type: enhancementImprovement of existing functionality or minor addition

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions