Skip to content
This repository was archived by the owner on Dec 6, 2022. It is now read-only.

Define dynamically the methods enabled by flags in BiodbConn #575

@pkrog

Description

@pkrog

In BiodbConn some methods form groups belonging to features that are enabled by flag inside definitions.yml.
Examples are : downloadable, remote, writable, compound.db, etc.
Would it be possible to move these methods by group in specific class or source file, and define them dynamically inside the concrete class at the moment it is instantiated.
This would decrease the number of methods defined inside BiodbConn, and allow to extend biodb by easily adding more of these features.
When defining those methods dynamically, a check could be made also on implementation of abstract methods (do... methods most of the time) inside the concrete connector class.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions