mitiku commited on
Commit
2ced7e6
·
verified ·
1 Parent(s): b8e7245

Add docstring to todays_date functions!

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -22,6 +22,11 @@ def my_custom_tool(arg1:str, arg2:int)-> str: #it's import to specify the return
22
 
23
  @tool
24
  def todays_date():
 
 
 
 
 
25
  today = date.today()
26
  return today.strftime("%b %d, %Y")
27
 
 
22
 
23
  @tool
24
  def todays_date():
25
+ """ Returns the current date in the format of 'Month Day, Year'
26
+
27
+ Returns:
28
+ str: The current date in the format of 'Month Day
29
+ """
30
  today = date.today()
31
  return today.strftime("%b %d, %Y")
32