|
16 | 16 | from .endpoints.location import Location |
17 | 17 | from .endpoints.school import School |
18 | 18 | from .logger import get_logger |
19 | | -from .models import AutocompleteModel, JobTitleModel, SkillModel, IPModel |
| 19 | +from .models import AutocompleteModel, JobTitleModel, IPModel |
20 | 20 | from .requests import Request |
21 | 21 | from .settings import settings |
22 | 22 | from .utils import check_empty_parameters |
@@ -94,33 +94,6 @@ def autocomplete(self, **kwargs): |
94 | 94 | validator=AutocompleteModel, |
95 | 95 | ).get() |
96 | 96 |
|
97 | | - @check_empty_parameters |
98 | | - def skill(self, **kwargs): |
99 | | - """ |
100 | | - Calls PeopleDataLabs' skill API. |
101 | | -
|
102 | | - Args: |
103 | | - **kwargs: Parameters for the API as defined |
104 | | - in the documentation. |
105 | | -
|
106 | | - Returns: |
107 | | - A requests.Response object with the result of the HTTP call. |
108 | | - """ |
109 | | - url = Endpoint(self.api_key, self.base_path).get_url( |
110 | | - endpoint="skill/enrich" |
111 | | - ) |
112 | | - return Request( |
113 | | - api_key=self.api_key, |
114 | | - url=url, |
115 | | - headers={ |
116 | | - "Accept-Encoding": "gzip", |
117 | | - "User-Agent": "PDL-PYTHON-SDK", |
118 | | - "Content-Type": "application/json", |
119 | | - }, |
120 | | - params=kwargs, |
121 | | - validator=SkillModel, |
122 | | - ).get() |
123 | | - |
124 | 97 | @check_empty_parameters |
125 | 98 | def job_title(self, **kwargs): |
126 | 99 | """ |
|
0 commit comments