File manager - Edit - /usr/lib/mysqlsh/lib/python3.9/site-packages/oci/_vendor/requests/packages.py
Back
# coding: utf-8 # Modified Work: Copyright (c) 2018, 2026, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. # Copyright 2018 Kenneth Reitz import sys # This code exists for backwards compatibility reasons. # I don't like it either. Just look the other way. :) for package in ('idna', 'chardet'): vendored_package = "oci._vendor." + package locals()[package] = __import__(vendored_package) # This traversal is apparently necessary such that the identities are # preserved (requests.packages.idna.* is idna.*) for mod in list(sys.modules): if mod == vendored_package or mod.startswith(vendored_package + '.'): unprefixed_mod = mod[len("oci._vendor."):] sys.modules['oci._vendor.requests.packages.' + unprefixed_mod] = sys.modules[mod] # Kinda cool, though, right?
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings