Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/attempt to fix module structure #23

Merged
merged 6 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: change importing modules way
  • Loading branch information
yazdipour committed Jun 18, 2024
commit 4bec320cb792a4dad85c6f0ef8086bf7a0429659
1 change: 1 addition & 0 deletions omnivoreql/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
from .omnivoreql import OmnivoreQL
from .models import CreateLabelInput
8 changes: 4 additions & 4 deletions omnivoreql/omnivoreql.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from gql import gql, Client
from gql.transport.requests import RequestsHTTPTransport
import uuid
from models import CreateLabelInput
from dataclasses import asdict
import os
import glob
from typing import List, Optional
from gql.transport.requests import RequestsHTTPTransport
from gql import gql, Client
from dataclasses import asdict
from .models import CreateLabelInput


class OmnivoreQL:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from setuptools import setup
from setuptools import setup, find_packages
import subprocess


Expand Down Expand Up @@ -37,7 +37,7 @@ def read_requirements():
description="Omnivore API Client for Python",
author="Shahriar Yazdipour",
author_email="git@yazdipour.com",
packages=["omnivoreql"],
packages=find_packages(),
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
license="MIT",
Expand Down
Loading