File: //home/arjun/projects/env/lib64/python3.10/site-packages/flower/__pycache__/options.cpython-310.pyc
o
/we� � @ s4 d dl Z d dlmZ d dlmZ d dlmZmZ dZeddde d � ed
dde
d � ed
dde
d � eddded � eddedd� edde
dd� ede
dddd� ede
ddd� ede
dd d� ed!e
dd"d� ed#e d$d%d� ed&e d'd(d� ed)e
d*d+d� ed,edd-d� ed.e d d/d� ed0e
dd1d� ed2e
dd3d� ed4e
dd5d� ed6e
dd7d� ed8edd9d� ed:dd;ed � ed<de d=d� ed>e
ed?�d@d� edAedBdC� edDeddEd� edFe j
ddGd� edHeddId� edJe
dKdLd� edMde
dNd� edOe
dPdQ� edReejddSd� eZdS )T� N)�
token_urlsafe)� Histogram)�define�optionszflowerconfig.py�porti� zrun on the given port)�default�help�type�address� zrun on the given address�unix_socketzpath to unix socket to bind�debugFzrun in debug mode�inspect_timeoutg @�@z!inspect timeout (in milliseconds))r r r �authz regexp of emails to grant access�
basic_authTz enable http basic authentication)r r �multipler �
oauth2_keyzOAuth2 key (requires --auth))r r r �
oauth2_secretzOAuth2 secret (requires --auth)�oauth2_redirect_uriz%OAuth2 redirect uri (requires --auth)�max_workersi� z+maximum number of workers to keep in memory� max_tasksi�� z)maximum number of tasks to keep in memory�db�flowerzflower database file�
persistentzenable persistent mode�state_save_intervalz%state save interval (in milliseconds)�
broker_apiz;inspect broker e.g. http://guest:guest@localhost:15672/api/�ca_certsz#SSL certificate authority (CA) file�certfilezSSL certificate file�keyfilezSSL key file�xheadersz:enable support for the 'X-Real-Ip' and 'X-Scheme' headers.�auto_refreshzrefresh workerss�purge_offline_workerszEtime (in seconds) after which offline workers are purged from workers�
cookie_secret�@ zsecure cookie secret�confzconfiguration file)r r �
enable_eventsz!periodically enable Celery events�format_taskzuse custom task formatter�natural_timezshow time in relative format�
tasks_columnszBname,uuid,state,args,kwargs,result,received,started,runtime,workerz4slugs of columns on /tasks/ page, delimited by comma�
auth_providerzauth handler class�
url_prefixzbase url prefix)r r �task_runtime_metric_bucketszhistogram latency bucket value)�types�secretsr �prometheus_clientr �tornado.optionsr r �DEFAULT_CONFIG_FILE�int�str�bool�float�FunctionType�DEFAULT_BUCKETS�default_options� r8 r8 �G/home/arjun/projects/env/lib/python3.10/site-packages/flower/options.py�<module> s� ������
�������������������
���
�