MCPcopy Index your code
hub / github.com/ndleah/python-mini-project / get_feed_by_id

Function get_feed_by_id

RSS_Manager/utils.py:47–50  ·  view source on GitHub ↗
(feed_id: int)

Source from the content-addressed store, hash-verified

45
46
47def get_feed_by_id(feed_id: int):
48 with Session(engine) as session:
49 feed = session.query(Subscription).filter(Subscription.id == feed_id).first()
50 return feed
51
52
53def get_articles_for_feed(feed_id: int):

Callers 1

get_articles_for_feedFunction · 0.85

Calls 1

firstMethod · 0.80

Tested by

no test coverage detected