由mypyboto3buider4.2.0生成的boto3.firehose1.16.35服务的类型注释

mypy-boto3-firehose的Python项目详细描述


mypy-boto3-消防软管

PyPI - mypy-boto3-firehosePyPI - Python VersionDocs

boto3.typed

的类型批注 boto3.Firehose 1.16.35服务 兼容 VSCodePyCharmEmacsSublime Textmypypyright 以及其他工具。在

mypy-boto3-buider 4.2.0生成。在

更多信息可在boto3-stubs页找到。在

了解它如何帮助查找和修复潜在的错误:

boto3-stubs demo

如何安装

Firehose服务安装boto3-stubs。在

python -m pip install boto3-stubs[firehose]

使用

VSCode

  • 安装Python extension
  • 安装Pylance extension
  • Pylance设置为Python语言服务器
  • 在您的环境中安装boto-stubs[firehose]python -m pip install 'boto3-stubs[firehose]'

类型检查和自动完成都应该适用于Firehose服务。 不需要显式的类型注释,请照常编写boto3代码。在

PyCharm

  • 在您的环境中安装boto-stubs[firehose]python -m pip install 'boto3-stubs[firehose]'

类型检查和自动完成都应该适用于Firehose服务。 不需要显式的类型注释,请照常编写boto3代码。 自动完成在大型项目或安装了大量boto3-stubs子模块时可能会很慢。在

其他IDE

没有经过测试,但是只要您的IDE支持mypy或{},一切都应该正常。在

mypy

  • 安装mypypython -m pip install mypy
  • 在您的环境中安装boto-stubs[firehose]python -m pip install 'boto3-stubs[firehose]'
  • 像往常一样运行mypy

类型检查应该适用于Firehose服务。 不需要显式的类型注释,请照常编写boto3代码。在

pyright

  • 安装pyrightyarn global add pyright
  • 在您的环境中安装boto-stubs[firehose]python -m pip install 'boto3-stubs[firehose]'
  • 或者,您可以将boto3-stubs安装到typings文件夹中。在

类型检查应该适用于Firehose服务。 不需要显式的类型注释,请照常编写boto3代码。在

显式类型批注

客户端注释

FirehoseClientboto3.client("firehose")提供注释。在

^{pr2}$

键入的措辞

mypy_boto3_firehose.type_defs模块包含组合的结构和形状 以进行额外的类型检查。在

frommypy_boto3_firehose.type_defsimport(BufferingHintsTypeDef,CloudWatchLoggingOptionsTypeDef,CopyCommandTypeDef,CreateDeliveryStreamOutputTypeDef,DataFormatConversionConfigurationTypeDef,DeliveryStreamDescriptionTypeDef,DeliveryStreamEncryptionConfigurationInputTypeDef,DeliveryStreamEncryptionConfigurationTypeDef,DescribeDeliveryStreamOutputTypeDef,DeserializerTypeDef,DestinationDescriptionTypeDef,ElasticsearchBufferingHintsTypeDef,ElasticsearchDestinationConfigurationTypeDef,ElasticsearchDestinationDescriptionTypeDef,ElasticsearchDestinationUpdateTypeDef,ElasticsearchRetryOptionsTypeDef,EncryptionConfigurationTypeDef,ExtendedS3DestinationConfigurationTypeDef,ExtendedS3DestinationDescriptionTypeDef,ExtendedS3DestinationUpdateTypeDef,FailureDescriptionTypeDef,HiveJsonSerDeTypeDef,HttpEndpointBufferingHintsTypeDef,HttpEndpointCommonAttributeTypeDef,HttpEndpointConfigurationTypeDef,HttpEndpointDescriptionTypeDef,HttpEndpointDestinationConfigurationTypeDef,HttpEndpointDestinationDescriptionTypeDef,HttpEndpointDestinationUpdateTypeDef,HttpEndpointRequestConfigurationTypeDef,HttpEndpointRetryOptionsTypeDef,InputFormatConfigurationTypeDef,KinesisStreamSourceConfigurationTypeDef,KinesisStreamSourceDescriptionTypeDef,KMSEncryptionConfigTypeDef,ListDeliveryStreamsOutputTypeDef,ListTagsForDeliveryStreamOutputTypeDef,OpenXJsonSerDeTypeDef,OrcSerDeTypeDef,OutputFormatConfigurationTypeDef,ParquetSerDeTypeDef,ProcessingConfigurationTypeDef,ProcessorParameterTypeDef,ProcessorTypeDef,PutRecordBatchOutputTypeDef,PutRecordBatchResponseEntryTypeDef,PutRecordOutputTypeDef,RecordTypeDef,RedshiftDestinationConfigurationTypeDef,RedshiftDestinationDescriptionTypeDef,RedshiftDestinationUpdateTypeDef,RedshiftRetryOptionsTypeDef,ResponseMetadata,S3DestinationConfigurationTypeDef,S3DestinationDescriptionTypeDef,S3DestinationUpdateTypeDef,SchemaConfigurationTypeDef,SerializerTypeDef,SourceDescriptionTypeDef,SplunkDestinationConfigurationTypeDef,SplunkDestinationDescriptionTypeDef,SplunkDestinationUpdateTypeDef,SplunkRetryOptionsTypeDef,TagTypeDef,VpcConfigurationDescriptionTypeDef,VpcConfigurationTypeDef,)defget_structure()->BufferingHintsTypeDef:return{...}

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
如何加载。java文件到编译器?   java写入文件和I/O   java日历返回错误的当前日期安卓   if语句if变量等于1(java)   java很难让Joda有时间使用我的bukkit插件   json如何创建基于java的应用程序,该应用程序将从网站获取输入   java如何在多页中打印大型JPanel   java my spinner在添加从firebase数据库中选择的多个值时被覆盖   java用Play框架覆盖HTTP方法   试图获取所有用户时,java错误请求400。Dto和表格   java支持bean加载图像后javascript自动调用JS函数   java在MTOM的@StreamingAttachment(Metro)中,Parsely的意思是什么   具有可抢占线程队列的多线程java执行器   Java Opencv connectedComponentsWithStats   java如何向数组中添加2D数组的数目   eclipse为什么我的Java Zork克隆不能正确循环?   java在哪里放置定制的第二个web。xml   java如何更改最近应用列表中显示的快照?   java Browser#getText()返回空字符串