Skip to content

Commit

Permalink
Merge pull request googleapis#164 from cfinnberg/master
Browse files Browse the repository at this point in the history
Make project's import paths relative
  • Loading branch information
Geethanadh Padavala authored Jan 8, 2019
2 parents cbe44fc + 35358c1 commit c44804b
Show file tree
Hide file tree
Showing 11 changed files with 32 additions and 32 deletions.
20 changes: 10 additions & 10 deletions O365/account.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from O365.address_book import AddressBook, GlobalAddressList
from O365.calendar import Schedule
from O365.connection import Connection, Protocol, MSGraphProtocol
from O365.connection import oauth_authentication_flow
from O365.drive import Storage
from O365.mailbox import MailBox
from O365.message import Message
from O365.sharepoint import Sharepoint
from O365.planner import Planner
from O365.utils import ME_RESOURCE
from .address_book import AddressBook, GlobalAddressList
from .calendar import Schedule
from .connection import Connection, Protocol, MSGraphProtocol
from .connection import oauth_authentication_flow
from .drive import Storage
from .mailbox import MailBox
from .message import Message
from .sharepoint import Sharepoint
from .planner import Planner
from .utils import ME_RESOURCE


class Account(object):
Expand Down
6 changes: 3 additions & 3 deletions O365/address_book.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

from dateutil.parser import parse

from O365.message import Recipients, Message
from O365.utils import AttachableMixin, TrackerSet
from O365.utils import Pagination, NEXT_LINK_KEYWORD, ApiComponent
from .message import Recipients, Message
from .utils import AttachableMixin, TrackerSet
from .utils import Pagination, NEXT_LINK_KEYWORD, ApiComponent

GAL_MAIN_RESOURCE = 'users'

Expand Down
10 changes: 5 additions & 5 deletions O365/calendar.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
from bs4 import BeautifulSoup as bs
from dateutil.parser import parse

from O365.message import HandleRecipientsMixin
from O365.utils import AttachableMixin, ImportanceLevel, TrackerSet
from O365.utils import BaseAttachments, BaseAttachment
from O365.utils import Pagination, NEXT_LINK_KEYWORD, ApiComponent
from O365.utils.windows_tz import get_iana_tz, get_windows_tz
from .message import HandleRecipientsMixin
from .utils import AttachableMixin, ImportanceLevel, TrackerSet
from .utils import BaseAttachments, BaseAttachment
from .utils import Pagination, NEXT_LINK_KEYWORD, ApiComponent
from .utils.windows_tz import get_iana_tz, get_windows_tz

log = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion O365/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from stringcase import pascalcase, camelcase, snakecase
from tzlocal import get_localzone

from O365.utils import ME_RESOURCE
from .utils import ME_RESOURCE

log = logging.getLogger(__name__)

Expand Down
4 changes: 2 additions & 2 deletions O365/drive.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

from dateutil.parser import parse

from O365.address_book import Contact
from O365.utils import ApiComponent, Pagination, NEXT_LINK_KEYWORD, \
from .address_book import Contact
from .utils import ApiComponent, Pagination, NEXT_LINK_KEYWORD, \
OneDriveWellKnowFolderNames

log = logging.getLogger(__name__)
Expand Down
4 changes: 2 additions & 2 deletions O365/mailbox.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import datetime as dt
import logging

from O365.message import Message
from O365.utils import Pagination, NEXT_LINK_KEYWORD, \
from .message import Message
from .utils import Pagination, NEXT_LINK_KEYWORD, \
OutlookWellKnowFolderNames, ApiComponent

log = logging.getLogger(__name__)
Expand Down
2 changes: 1 addition & 1 deletion O365/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from bs4 import BeautifulSoup as bs
from dateutil.parser import parse

from O365.utils import OutlookWellKnowFolderNames, ApiComponent, \
from .utils import OutlookWellKnowFolderNames, ApiComponent, \
BaseAttachments, BaseAttachment, AttachableMixin, ImportanceLevel, \
TrackerSet

Expand Down
6 changes: 3 additions & 3 deletions O365/planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

from dateutil.parser import parse

from O365.address_book import Contact
from O365.drive import Storage
from O365.utils import ApiComponent
from .address_book import Contact
from .drive import Storage
from .utils import ApiComponent

log = logging.getLogger(__name__)

Expand Down
6 changes: 3 additions & 3 deletions O365/sharepoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

from dateutil.parser import parse

from O365.address_book import Contact
from O365.drive import Storage
from O365.utils import ApiComponent
from .address_book import Contact
from .drive import Storage
from .utils import ApiComponent

log = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion O365/utils/attachment.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import logging
from pathlib import Path

from O365.utils.utils import ApiComponent
from .utils import ApiComponent

log = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion O365/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import pytz

from O365.utils.decorators import fluent
from .decorators import fluent

ME_RESOURCE = 'me'
USERS_RESOURCE = 'users'
Expand Down

0 comments on commit c44804b

Please sign in to comment.