pipette.join_url

pipette.join_url(*args: str, protocol: str | None = None) str

Join strings to form a URL path.

Parameters:
  • *args (str) – Path components to join.

  • protocol (str, optional) – Protocol prefix. One of "https", "http", "ftp", "s3". Default is None (no prefix added).

Returns:

Joined URL with components joined by /.

Return type:

str