📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
falcon
›
📁 util
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/falcon/util
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: misc.pyc
a [��f�) � @ s� d Z ddlZddlZddlZddlZddlZddlmZ dZejj Z ejj Z G dd� de�Zdd� Z d d � Zdd� Zddd�Zddd�Zdd� Zdd� Zdd� Zdd� Zd dd�ZdS )!z�Miscellaneous utilities. This module provides misc. utility functions for apps and the Falcon framework itself. These functions are hoisted into the front-door `falcon` module for convenience:: import falcon now = falcon.http_now() � N)�status_codes)� deprecated�http_now� dt_to_http�http_date_to_dt�to_query_str�get_bound_method�get_argnames�get_http_statusc @ s e Zd ZdS )�DeprecatedWarningN)�__name__� __module__�__qualname__� r r �t/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/falcon/util/misc.pyr 9 s r c s � fdd�}|S )a] Flags a method as deprecated. This function returns a decorator which can be used to mark deprecated functions. Applying this decorator will result in a warning being emitted when the function is used. Args: instructions (str): Specific guidance for the developer, e.g.: 'Please migrate to add_proxy(...)'' c s t �� �� �fdd��}|S )Nc sB d� � j��}t�� j}tj|tt�|j �|j d� � | i |��S )Nz)Call to deprecated function {0}(...). {1})�category�filename�lineno)�formatr �inspect�currentframe�f_back�warnings� warn_explicitr �getfile�f_code�f_lineno)�args�kwargs�message�frame)�func�instructionsr r �wrapperJ s � �z.deprecated.<locals>.decorator.<locals>.wrapper)� functools�wraps)r! r# �r"