From 1bc9571556514cb528c290a6f1f1ce54ce1fbe0d Mon Sep 17 00:00:00 2001 From: Vlad Emelianov Date: Sat, 11 Nov 2023 11:43:50 +0300 Subject: [PATCH] Update integration --- examples/pyright/s3_example.py.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/pyright/s3_example.py.json b/examples/pyright/s3_example.py.json index d46b09fec..2baab781a 100644 --- a/examples/pyright/s3_example.py.json +++ b/examples/pyright/s3_example.py.json @@ -16,7 +16,7 @@ }, { "severity": "error", - "message": "Argument of type \"Literal['test']\" cannot be assigned to parameter \"Config\" of type \"TransferConfig | None\" in function \"upload_file\"\n\u00a0\u00a0Type \"Literal['test']\" cannot be assigned to type \"TransferConfig | None\"\n\u00a0\u00a0\u00a0\u00a0\"Literal['test']\" is incompatible with \"TransferConfig\"\n\u00a0\u00a0\u00a0\u00a0Type cannot be assigned to type \"None\"", + "message": "Argument of type \"Literal['test']\" cannot be assigned to parameter \"Config\" of type \"TransferConfig | None\" in function \"upload_file\"\n\u00a0\u00a0Type \"Literal['test']\" cannot be assigned to type \"TransferConfig | None\"\n\u00a0\u00a0\u00a0\u00a0\"Literal['test']\" is incompatible with \"TransferConfig\"\n\u00a0\u00a0\u00a0\u00a0\"Literal['test']\" is incompatible with \"None\"", "range": { "start": { "line": 21, @@ -121,7 +121,7 @@ }, { "severity": "error", - "message": "Argument of type \"None\" cannot be assigned to parameter \"IfModifiedSince\" of type \"TimestampTypeDef\" in function \"get_object\"\n\u00a0\u00a0Type \"None\" cannot be assigned to type \"TimestampTypeDef\"\n\u00a0\u00a0\u00a0\u00a0Type \"None\" cannot be assigned to type \"datetime\"\n\u00a0\u00a0\u00a0\u00a0Type \"None\" cannot be assigned to type \"str\"", + "message": "Argument of type \"None\" cannot be assigned to parameter \"IfModifiedSince\" of type \"TimestampTypeDef\" in function \"get_object\"\n\u00a0\u00a0Type \"None\" cannot be assigned to type \"TimestampTypeDef\"\n\u00a0\u00a0\u00a0\u00a0\"None\" is incompatible with \"datetime\"\n\u00a0\u00a0\u00a0\u00a0\"None\" is incompatible with \"str\"", "range": { "start": { "line": 50, @@ -211,7 +211,7 @@ }, { "severity": "error", - "message": "Argument of type \"None\" cannot be assigned to parameter \"Key\" of type \"str\" in function \"get_object\"\n\u00a0\u00a0Type \"None\" cannot be assigned to type \"str\"", + "message": "Argument of type \"None\" cannot be assigned to parameter \"Key\" of type \"str\" in function \"get_object\"\n\u00a0\u00a0\"None\" is incompatible with \"str\"", "range": { "start": { "line": 75,