File tree Expand file tree Collapse file tree 3 files changed +18
-18
lines changed Expand file tree Collapse file tree 3 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 5
5
6
6
jobs :
7
7
static-analysis :
8
- uses : mindee/mindee-api-python/ .github/workflows/_static-analysis.yml
8
+ uses : .github/workflows/_static-analysis.yml
9
9
test-units :
10
- uses : mindee/mindee-api-python/ .github/workflows/_test-units.yml
10
+ uses : .github/workflows/_test-units.yml
11
11
needs : static-analysis
12
12
secrets : inherit
13
13
test-regressions :
14
- uses : mindee/mindee-api-python/ .github/workflows/_test-regressions.yml
14
+ uses : .github/workflows/_test-regressions.yml
15
15
needs : test-units
16
16
secrets : inherit
17
17
test-integrations :
18
- uses : mindee/mindee-api-python/ .github/workflows/_test-integrations.yml
18
+ uses : .github/workflows/_test-integrations.yml
19
19
needs : test-units
20
20
secrets : inherit
21
21
test-code-samples :
22
- uses : mindee/mindee-api-python/ .github/workflows/_test-code-samples.yml
22
+ uses : .github/workflows/_test-code-samples.yml
23
23
needs : test-units
24
24
secrets : inherit
Original file line number Diff line number Diff line change @@ -562,3 +562,16 @@ def create_endpoint(
562
562
)
563
563
version = "1"
564
564
return self ._build_endpoint (endpoint_name , account_name , version )
565
+
566
+ @staticmethod
567
+ def source_from_url (
568
+ url : str ,
569
+ ) -> UrlInputSource :
570
+ """
571
+ Load a document from a URL.
572
+
573
+ :param url: Raw byte input
574
+ """
575
+ return UrlInputSource (
576
+ url ,
577
+ )
Original file line number Diff line number Diff line change @@ -72,19 +72,6 @@ def source_from_bytes(
72
72
input_doc .fix_pdf ()
73
73
return input_doc
74
74
75
- @staticmethod
76
- def source_from_url (
77
- url : str ,
78
- ) -> UrlInputSource :
79
- """
80
- Load a document from a URL.
81
-
82
- :param url: Raw byte input
83
- """
84
- return UrlInputSource (
85
- url ,
86
- )
87
-
88
75
@staticmethod
89
76
def _validate_async_params (
90
77
initial_delay_sec : float , delay_sec : float , max_retries : int
You can’t perform that action at this time.
0 commit comments