Skip to content

Commit

Permalink
a few examples and linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrem committed Dec 6, 2024
1 parent 0b3aac1 commit 311d3a1
Show file tree
Hide file tree
Showing 5 changed files with 191 additions and 41 deletions.
2 changes: 1 addition & 1 deletion examples/outlook/messages/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
result = client.search.query_messages("Meet for lunch?").execute_query()
for item in result.value:
for hit in item.hitsContainers[0].hits:
print(hit.resource.get("webLink"))
print(hit.resource.get_property("webLink"))
2 changes: 0 additions & 2 deletions generator/generate_model.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from configparser import ConfigParser

from generator import load_settings
from generator.builders.type_builder import TypeBuilder
from office365.runtime.odata.model import ODataModel
from office365.runtime.odata.v3.metadata_reader import ODataV3Reader
from office365.runtime.odata.v4.metadata_reader import ODataV4Reader

Expand Down
Loading

0 comments on commit 311d3a1

Please sign in to comment.