File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66jobs :
77 static-analysis :
8- uses : mindee/mindee-api-python/ .github/workflows/_static-analysis.yml
8+ uses : .github/workflows/_static-analysis.yml
99 test-units :
10- uses : mindee/mindee-api-python/ .github/workflows/_test-units.yml
10+ uses : .github/workflows/_test-units.yml
1111 needs : static-analysis
1212 secrets : inherit
1313 test-regressions :
14- uses : mindee/mindee-api-python/ .github/workflows/_test-regressions.yml
14+ uses : .github/workflows/_test-regressions.yml
1515 needs : test-units
1616 secrets : inherit
1717 test-integrations :
18- uses : mindee/mindee-api-python/ .github/workflows/_test-integrations.yml
18+ uses : .github/workflows/_test-integrations.yml
1919 needs : test-units
2020 secrets : inherit
2121 test-code-samples :
22- uses : mindee/mindee-api-python/ .github/workflows/_test-code-samples.yml
22+ uses : .github/workflows/_test-code-samples.yml
2323 needs : test-units
2424 secrets : inherit
Original file line number Diff line number Diff line change @@ -562,3 +562,16 @@ def create_endpoint(
562562 )
563563 version = "1"
564564 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(
7272 input_doc .fix_pdf ()
7373 return input_doc
7474
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-
8875 @staticmethod
8976 def _validate_async_params (
9077 initial_delay_sec : float , delay_sec : float , max_retries : int
You can’t perform that action at this time.
0 commit comments