@@ -356,7 +356,19 @@ def get_submissions(
356
356
357
357
358
358
class ATD (Client ):
359
- """Base class for all AllThingsDev clients."""
359
+ """Base class for all AllThingsDev clients.
360
+
361
+ Parameters
362
+ ----------
363
+ endpoint : str
364
+ Default request endpoint.
365
+ host_header_value : str
366
+ Value for the x-apihub-host header.
367
+ api_key : str
368
+ AllThingsDev API key.
369
+ **kwargs : dict
370
+ Additional keyword arguments for the base Client.
371
+ """
360
372
361
373
API_KEY_ENV : ClassVar [str ] = "JUDGE0_ATD_API_KEY"
362
374
@@ -376,7 +388,15 @@ def _update_endpoint_header(self, header_value):
376
388
377
389
378
390
class ATDJudge0CE (ATD ):
379
- """AllThingsDev client for CE flavor."""
391
+ """AllThingsDev client for CE flavor.
392
+
393
+ Parameters
394
+ ----------
395
+ api_key : str
396
+ AllThingsDev API key.
397
+ **kwargs : dict
398
+ Additional keyword arguments for the base Client.
399
+ """
380
400
381
401
DEFAULT_ENDPOINT : ClassVar [str ] = (
382
402
"https://judge0-ce.proxy-production.allthingsdev.co"
@@ -460,7 +480,15 @@ def get_submissions(
460
480
461
481
462
482
class ATDJudge0ExtraCE (ATD ):
463
- """AllThingsDev client for Extra CE flavor."""
483
+ """AllThingsDev client for Extra CE flavor.
484
+
485
+ Parameters
486
+ ----------
487
+ api_key : str
488
+ AllThingsDev API key.
489
+ **kwargs : dict
490
+ Additional keyword arguments for the base Client.
491
+ """
464
492
465
493
DEFAULT_ENDPOINT : ClassVar [str ] = (
466
494
"https://judge0-extra-ce.proxy-production.allthingsdev.co"
@@ -545,7 +573,19 @@ def get_submissions(
545
573
546
574
547
575
class Rapid (Client ):
548
- """Base class for all RapidAPI clients."""
576
+ """Base class for all RapidAPI clients.
577
+
578
+ Parameters
579
+ ----------
580
+ endpoint : str
581
+ Default request endpoint.
582
+ host_header_value : str
583
+ Value for the x-rapidapi-host header.
584
+ api_key : str
585
+ RapidAPI API key.
586
+ **kwargs : dict
587
+ Additional keyword arguments for the base Client.
588
+ """
549
589
550
590
API_KEY_ENV : ClassVar [str ] = "JUDGE0_RAPID_API_KEY"
551
591
@@ -562,7 +602,15 @@ def __init__(self, endpoint, host_header_value, api_key, **kwargs):
562
602
563
603
564
604
class RapidJudge0CE (Rapid ):
565
- """RapidAPI client for CE flavor."""
605
+ """RapidAPI client for CE flavor.
606
+
607
+ Parameters
608
+ ----------
609
+ api_key : str
610
+ RapidAPI API key.
611
+ **kwargs : dict
612
+ Additional keyword arguments for the base Client.
613
+ """
566
614
567
615
DEFAULT_ENDPOINT : ClassVar [str ] = "https://judge0-ce.p.rapidapi.com"
568
616
DEFAULT_HOST : ClassVar [str ] = "judge0-ce.p.rapidapi.com"
@@ -578,7 +626,15 @@ def __init__(self, api_key, **kwargs):
578
626
579
627
580
628
class RapidJudge0ExtraCE (Rapid ):
581
- """RapidAPI client for Extra CE flavor."""
629
+ """RapidAPI client for Extra CE flavor.
630
+
631
+ Parameters
632
+ ----------
633
+ api_key : str
634
+ RapidAPI API key.
635
+ **kwargs : dict
636
+ Additional keyword arguments for the base Client.
637
+ """
582
638
583
639
DEFAULT_ENDPOINT : ClassVar [str ] = "https://judge0-extra-ce.p.rapidapi.com"
584
640
DEFAULT_HOST : ClassVar [str ] = "judge0-extra-ce.p.rapidapi.com"
@@ -602,6 +658,8 @@ class Sulu(Client):
602
658
Default request endpoint.
603
659
api_key : str, optional
604
660
Sulu API key.
661
+ **kwargs : dict
662
+ Additional keyword arguments for the base Client.
605
663
"""
606
664
607
665
API_KEY_ENV : ClassVar [str ] = "JUDGE0_SULU_API_KEY"
@@ -622,6 +680,8 @@ class SuluJudge0CE(Sulu):
622
680
----------
623
681
api_key : str, optional
624
682
Sulu API key.
683
+ **kwargs : dict
684
+ Additional keyword arguments for the base Client.
625
685
"""
626
686
627
687
DEFAULT_ENDPOINT : ClassVar [str ] = "https://judge0-ce.p.sulu.sh"
@@ -642,6 +702,8 @@ class SuluJudge0ExtraCE(Sulu):
642
702
----------
643
703
api_key : str
644
704
Sulu API key.
705
+ **kwargs : dict
706
+ Additional keyword arguments for the base Client.
645
707
"""
646
708
647
709
DEFAULT_ENDPOINT : ClassVar [str ] = "https://judge0-extra-ce.p.sulu.sh"
0 commit comments