File tree Expand file tree Collapse file tree 6 files changed +7
-3
lines changed Expand file tree Collapse file tree 6 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 11"""Utilities for working with Azure blob storage"""
2+
23import io
34import re
45
Original file line number Diff line number Diff line change 11"""Utilities for working with Azure data lake storage"""
2+
23import re
34
45from azure .datalake .store import core , lib
Original file line number Diff line number Diff line change 11"""Engines to perform different roles"""
2+
23import datetime
34import sys
45from functools import wraps
@@ -169,9 +170,7 @@ def autosave_cell(self):
169170 # Autosave is taking too long, so exponentially back off.
170171 self .autosave_cell_every *= 2
171172 logger .warning (
172- "Autosave too slow: {:.2f} sec, over {}% limit. Backing off to {} sec" .format (
173- save_elapsed , self .max_autosave_pct , self .autosave_cell_every
174- )
173+ f"Autosave too slow: { save_elapsed :.2f} sec, over { self .max_autosave_pct } % limit. Backing off to { self .autosave_cell_every } sec"
175174 )
176175
177176 @catch_nb_assignment
Original file line number Diff line number Diff line change 11"""Deduce parameters of a notebook from the parameters cell."""
2+
23from pathlib import Path
34
45import click
Original file line number Diff line number Diff line change 11"""Sets up a logger"""
2+
23import logging
34
45logger = logging .getLogger ('papermill' )
Original file line number Diff line number Diff line change 11"""Models used by papermill."""
2+
23from collections import namedtuple
34
45Parameter = namedtuple (
You can’t perform that action at this time.
0 commit comments