Skip to content

Commit 151da89

Browse files
committed
TypeError: BaseSubmissionResult.__init__() got an unexpected keyword argument 'std_output_list' , this issue is persistent
1 parent 6a9b297 commit 151da89

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
class Solution:
2+
def getConcatenation(self, nums: List[int]) -> List[int]:
3+
return nums+nums
4+

code_editor/1_two-sum.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

main.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,15 @@ def interpret_solution(title_slug, payload, api_instance):
358358
print("Test has been queued. Result:")
359359
print(interpretation_id)
360360

361+
time.sleep(5) # FIXME: should probably be a busy-waiting loop
362+
363+
test_submission_result = api_instance.submissions_detail_id_check_get(
364+
id=interpretation_id.interpret_id
365+
)
366+
367+
print("Got test result:")
368+
print(leetcode.TestSubmissionResult(**test_submission_result))
369+
361370

362371
def initialize_leetcode_api_instance(leetcode_session):
363372
configuration = leetcode.Configuration()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy