scruby-plugin 2.0.1__py3-none-any.whl → 2.1.0__py3-none-any.whl

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: scruby-plugin
3
- Version: 2.0.1
3
+ Version: 2.1.0
4
4
  Summary: Library for creating Scruby plugins.
5
5
  Project-URL: Bug Tracker, https://github.com/kebasyaty/scruby-plugin/issues
6
6
  Project-URL: Changelog, https://github.com/kebasyaty/scruby-plugin/blob/v2/CHANGELOG.md
@@ -119,7 +119,7 @@ async def main() -> None:
119
119
  Scruby.run(plugins=[CollectionMeta])
120
120
 
121
121
  # Get collection `Car`.
122
- car_coll = await Scruby.collection(Car)
122
+ car_coll = Scruby(Car)
123
123
  # Get metadata of collection
124
124
  meta = await car_coll.plugins.collectionMeta.get()
125
125
  # Print to console
@@ -1,7 +1,7 @@
1
1
  scruby_plugin/__init__.py,sha256=kWaqpz4RYNT9Kc9FF6jj0GX1Mppm1uhFfArPY6EYneI,241
2
2
  scruby_plugin/plugin.py,sha256=DkKhcHrmfSJ9kaYqyfbYxIEc0ICyPbGzKsoGEHjRTRY,615
3
3
  scruby_plugin/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- scruby_plugin-2.0.1.dist-info/METADATA,sha256=c93TH6G-MjI1lb9yavs5xukcuvEr3v4TlyxEtbyf114,5474
5
- scruby_plugin-2.0.1.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
6
- scruby_plugin-2.0.1.dist-info/licenses/LICENSE,sha256=mvh5qv1YJGyuVCkRxonDDNOzxlwXszKvwxXfOeXKrqw,1074
7
- scruby_plugin-2.0.1.dist-info/RECORD,,
4
+ scruby_plugin-2.1.0.dist-info/METADATA,sha256=KXLVd92gED_Tc4UBtyl9tqzEn4tEzLYBEX23FVKfUtQ,5457
5
+ scruby_plugin-2.1.0.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
6
+ scruby_plugin-2.1.0.dist-info/licenses/LICENSE,sha256=mvh5qv1YJGyuVCkRxonDDNOzxlwXszKvwxXfOeXKrqw,1074
7
+ scruby_plugin-2.1.0.dist-info/RECORD,,