anubhav77 commited on
Commit
90cef84
·
1 Parent(s): 7d1decc

Correcting

Browse files
Files changed (1) hide show
  1. main.py +0 -2
main.py CHANGED
@@ -74,7 +74,6 @@ def list_collections():
74
 
75
  @app.post(api_base+"/collections")
76
  def create_collection(
77
- self,
78
  collection: CreateCollection
79
  ) -> Collection:
80
  print("Received request to create_collection")
@@ -82,7 +81,6 @@ def create_collection(
82
 
83
  @app.get(api_base+"/collections/{collection_name}")
84
  def get_collection(
85
- self,
86
  collection_name: str,
87
  ) -> Collection:
88
  return bkend.get_collection(collection_name)
 
74
 
75
  @app.post(api_base+"/collections")
76
  def create_collection(
 
77
  collection: CreateCollection
78
  ) -> Collection:
79
  print("Received request to create_collection")
 
81
 
82
  @app.get(api_base+"/collections/{collection_name}")
83
  def get_collection(
 
84
  collection_name: str,
85
  ) -> Collection:
86
  return bkend.get_collection(collection_name)