# pydantic 2.14.2 (MIT), harvested by tools/harvest_corpus.py
=== input
Build a new `MultiHostUrl` instance from its component parts.

        This method takes either `hosts` - a list of `MultiHostHost` typed dicts, or the individual components
        `username`, `password`, `host` and `port`.

        Args:
            scheme: The scheme part of the URL.
            hosts: Multiple hosts to build the URL from.
            username: The username part of the URL.
            password: The password part of the URL.
            host: The host part of the URL.
            port: The port part of the URL.
            path: The path part of the URL.
            query: The query part of the URL, or omit for no query.
            fragment: The fragment part of the URL, or omit for no fragment.

        Returns:
            An instance of `MultiHostUrl`
        
=== parse google
short_description: 'Build a new `MultiHostUrl` instance from its component parts.'
long_description: |
  This method takes either `hosts` - a list of `MultiHostHost` typed dicts, or the individual components
  `username`, `password`, `host` and `port`.
blank_after_short_description: True
blank_after_long_description: True
style: google
- DocstringParam
  description: 'The scheme part of the URL.'
  kind: param
  key: 'param'
  arg_name: 'scheme'
  is_optional: False
- DocstringParam
  description: 'Multiple hosts to build the URL from.'
  kind: param
  key: 'param'
  arg_name: 'hosts'
  is_optional: False
- DocstringParam
  description: 'The username part of the URL.'
  kind: param
  key: 'param'
  arg_name: 'username'
  is_optional: False
- DocstringParam
  description: 'The password part of the URL.'
  kind: param
  key: 'param'
  arg_name: 'password'
  is_optional: False
- DocstringParam
  description: 'The host part of the URL.'
  kind: param
  key: 'param'
  arg_name: 'host'
  is_optional: False
- DocstringParam
  description: 'The port part of the URL.'
  kind: param
  key: 'param'
  arg_name: 'port'
  is_optional: False
- DocstringParam
  description: 'The path part of the URL.'
  kind: param
  key: 'param'
  arg_name: 'path'
  is_optional: False
- DocstringParam
  description: 'The query part of the URL, or omit for no query.'
  kind: param
  key: 'param'
  arg_name: 'query'
  is_optional: False
- DocstringParam
  description: 'The fragment part of the URL, or omit for no fragment.'
  kind: param
  key: 'param'
  arg_name: 'fragment'
  is_optional: False
- DocstringReturns
  description: 'An instance of `MultiHostUrl`'
  kind: returns
  key: 'returns'
  is_generator: False
=== detect
google
=== compose google
Build a new `MultiHostUrl` instance from its component parts.

This method takes either `hosts` - a list of `MultiHostHost` typed dicts, or the individual components
`username`, `password`, `host` and `port`.

Args:
    scheme: The scheme part of the URL.
    hosts: Multiple hosts to build the URL from.
    username: The username part of the URL.
    password: The password part of the URL.
    host: The host part of the URL.
    port: The port part of the URL.
    path: The path part of the URL.
    query: The query part of the URL, or omit for no query.
    fragment: The fragment part of the URL, or omit for no fragment.

Returns:
    An instance of `MultiHostUrl`
