o
    i e                     @   s   d Z ddlZddlmZ ddlmZ ddlmZ ddlm	Z
 ddlmZ ddlmZ dd	lmZ dd
lmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZm Z  ddej!ej" dej!ej" dej!ej" fddZ#ede$e#Z%dej!ej" dej!ej" dej!ej" fddZ&dS )zUPython wrappers around TensorFlow ops.

This file is MACHINE GENERATED! Do not edit.
    N)
pywrap_tfe)context)core)execute)dtypes)annotation_types)op_def_registry)ops)op_def_library)deprecated_endpoints)dispatch)	tf_export)TypeVarListschemekeyvaluec              
   C   s   t j pt  }|j}|jrRzt|d|| ||}|W S  tjy3 } zt	|| W Y d}~nd}~w tj
y<   Y nw z
t| ||||dW S  tjyQ   Y nw tjd| |||d\}}}	}
|	S )a_  Set configuration of the file system.

  Args:
    scheme: A `Tensor` of type `string`. File system scheme.
    key: A `Tensor` of type `string`. The name of the configuration option.
    value: A `Tensor` of type `string`. The value of the configuration option.
    name: A name for the operation (optional).

  Returns:
    The created Operation.
  FileSystemSetConfigurationN)namectx)r   r   r   r   )_contextr   _thread_local_datais_eagerr   TFE_Py_FastPathExecute_core_NotOkStatusException_opsraise_from_not_ok_status_FallbackException,file_system_set_configuration_eager_fallback_SymbolicException_op_def_library_apply_op_helper)r   r   r   r   _ctxtld_resulte__op_outputs r*   W/var/www/myenv/lib/python3.10/site-packages/tensorflow/python/ops/gen_filesystem_ops.pyfile_system_set_configuration   s4   
r,   z"raw_ops.FileSystemSetConfigurationc                 C   sV   t | tj} t |tj}t |tj}| ||g}d }tjdd||||d}d }|S )Ns   FileSystemSetConfigurationr   )inputsattrsr   r   )r   convert_to_tensor_dtypesstring_executer   )r   r   r   r   r   _inputs_flat_attrsr%   r*   r*   r+   r   <   s   
r   )N)'__doc__collectionstensorflow.pythonr   tensorflow.python.eagerr   r   r   r   r   r2   tensorflow.python.frameworkr   r0   tensorflow.security.fuzzing.pyr   _atypesr   _op_def_registryr	   r   r
   r!   "tensorflow.python.util.deprecationr   tensorflow.python.utilr   	_dispatch tensorflow.python.util.tf_exportr   typingr   r   TensorFuzzingAnnotationStringr,   	to_raw_opr   r   r*   r*   r*   r+   <module>   s$    0!2