Skip to content

Choose single result (based on priority & weight) #11

@OJFord

Description

@OJFord

I think it'd be nice to add a function (and perhaps use if __name__ == '__main__' too?) that return a single host:port from among the resolved options, according to their priority and weight.

I'd be happy to work a PR if you're interested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions