Skip to content

"Get all classes from server" Function or "get_class(check_server=True)" Argument #598

@rherriott

Description

@rherriott

Which project are you requesting an enhancement for?

kr8s

What do you need?

Currently, as get_class() does not question the server, I'd be very thankful for any method that would give me all server classes, any server class, or an arguement in get_class() that allowed searching the server.

This would enable me to get a class like 'Appian' from the server, without first getting an instance of it.
After all, it is entirely possible that there are no instances.

The function new_class() is nice, but what if I do not know all the details it requires?
Best-case, I can get most of them via api_resources(), but not all (async, scalable, scalable_spec).
Current drop-in takes api_resources(), selects all not known, and calls new_class on each of them, presuming nothing.

Best

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions