Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
first_project
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
banashree.p
first_project
Commits
a762cc02
Commit
a762cc02
authored
Apr 11, 2022
by
banashree.p
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
task_3
parent
5dd1b131
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
34 deletions
+8
-34
.idea/first_project.iml
.idea/first_project.iml
+8
-0
assignment_1mongodb/Models/business.py
assignment_1mongodb/Models/business.py
+0
-20
assignment_1mongodb/Repository/repo.py
assignment_1mongodb/Repository/repo.py
+0
-14
No files found.
.idea/first_project.iml
0 → 100644
View file @
a762cc02
<?xml version="1.0" encoding="UTF-8"?>
<module
type=
"PYTHON_MODULE"
version=
"4"
>
<component
name=
"NewModuleRootManager"
>
<content
url=
"file://$MODULE_DIR$"
/>
<orderEntry
type=
"inheritedJdk"
/>
<orderEntry
type=
"sourceFolder"
forTests=
"false"
/>
</component>
</module>
\ No newline at end of file
assignment_1mongodb/Models/business.py
deleted
100644 → 0
View file @
5dd1b131
from
pydantic
import
BaseModel
class
business
(
BaseModel
):
_id
:
str
id
:
str
certificate_number
:
str
business_name
:
str
date
:
str
result
:
str
city
:
str
zip
:
str
street
:
str
number
:
str
sector
:
str
address
:
str
Object
:
str
assignment_1mongodb/Repository/repo.py
deleted
100644 → 0
View file @
5dd1b131
from
pymongo
import
MongoClient
from
Models.business
import
business
from
main
import
mydb
from
mongodb
import
mongo
def
getData
():
return
mongo
()
def
my_cursor
():
return
None
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment