Skip to content

Commit

Permalink
dropped get_filepaths from docs, added deprecation warning (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubczakon committed Oct 7, 2019
1 parent 0e1b50c commit 9d979d5
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 75 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
# The short X.Y version
version = '0.13'
# The full version, including alpha/beta/rc tags
release = '0.13.4'
release = '0.13.5'

# -- General configuration ---------------------------------------------------

Expand Down
72 changes: 0 additions & 72 deletions docs/examples/code_snapshots.ipynb

This file was deleted.

1 change: 0 additions & 1 deletion docs/examples/examples_index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.. toctree::
Data versioning <data_versioning>
Interactive experiment run comparison <interactive_compare_experiments>
Code snapshoting <code_snapshots>
Image directory snapshoting <image_dir_snapshots>
Hyper parameter comparison <explore_hyperparams_skopt>
Log binary classification metrics <log_binary_metrics>
Expand Down
8 changes: 8 additions & 0 deletions neptunecontrib/api/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,14 @@ def get_filepaths(dirpath='.', extensions=None):
neptune.send_metric('score', 0.97)
"""

msg = """get_filepaths() is deprecated.
Starting from neptune-client==4.9 you can pass ['**/*.py*', '**/*.yaml*', '**/*.yml*']
to upload_source_files argument to upload all files with given extensions recursively.
Read more https://docs.neptune.ml/neptune-client/docs/project.html
"""
warnings.warn(msg, DeprecationWarning)

if not extensions:
extensions = ['.py', '.yaml', 'yml']
files = []
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def main():

setup(
name='neptune-contrib',
version='0.13.4',
version='0.13.5',
description='Neptune Python library contributions',
author='neptune.ml',
author_email='contact@neptune.ml',
Expand Down

0 comments on commit 9d979d5

Please sign in to comment.