execnb 0.1.17__tar.gz → 0.1.18__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: execnb
3
- Version: 0.1.17
3
+ Version: 0.1.18
4
4
  Summary: A description of your project
5
5
  Home-page: https://github.com/AnswerDotAI/execnb/
6
6
  Author: Jeremy Howard
@@ -0,0 +1 @@
1
+ __version__ = "0.1.18"
@@ -20,10 +20,10 @@ def _read_json(self, encoding=None, errors=None):
20
20
 
21
21
  # %% ../nbs/01_nbio.ipynb
22
22
  class NbCell(AttrDict):
23
- def __init__(self, idx, cell, id=None):
23
+ def __init__(self, idx, cell):
24
24
  super().__init__(cell)
25
25
  self.idx_ = idx
26
- self.id = id or rtoken_hex(4)
26
+ if 'id' not in self: self.id = rtoken_hex(4)
27
27
  if 'source' in self: self.set_source(self.source)
28
28
 
29
29
  def set_source(self, source):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: execnb
3
- Version: 0.1.17
3
+ Version: 0.1.18
4
4
  Summary: A description of your project
5
5
  Home-page: https://github.com/AnswerDotAI/execnb/
6
6
  Author: Jeremy Howard
@@ -9,7 +9,7 @@ user = AnswerDotAI
9
9
  author = Jeremy Howard
10
10
  author_email = j@fast.ai
11
11
  branch = main
12
- version = 0.1.17
12
+ version = 0.1.18
13
13
  min_python = 3.7
14
14
  requirements = fastcore>=1.10.4 ipython
15
15
  dev_requirements = matplotlib Pillow mistletoe
@@ -1 +0,0 @@
1
- __version__ = "0.1.17"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes