Skip to content

Commit c214eb1

Browse files
authored
Remove swagger (#659)
Reminders: - `kagglesdk` is generated by `kapigen` -- no review needed - The `kaggle` directory is a copy of `src/kaggle` -- no need to review both
1 parent 68c89f4 commit c214eb1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+2877
-12700
lines changed

docs/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Kaggle API
22

3+
CAUTION: Most of the files in this directory are obsolete and will be deleted. This file is valid,
4+
as are `model_card.md`, `modelinstance_usage.md`, and `models_metadata.md`.
5+
36
Official API for https://www.kaggle.com, accessible using a command line tool implemented in Python 3.
47

58
Beta release - Kaggle reserves the right to modify the API functionality currently offered.

kaggle/__init__.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# coding=utf-8
18-
from __future__ import absolute_import
19-
from kaggle.api.kaggle_api_extended import KaggleApi
20-
from kaggle.api_client import ApiClient
21-
22-
api = KaggleApi(ApiClient())
23-
api.authenticate()
17+
# coding=utf-8
18+
from __future__ import absolute_import
19+
from kaggle.api.kaggle_api_extended import KaggleApi
20+
21+
api = KaggleApi()
22+
api.authenticate()

kaggle/api/__init__.py

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

0 commit comments

Comments
 (0)